Skip to content

Commit

Permalink
Added a Tailwinds CSS build process
Browse files Browse the repository at this point in the history
- updated to Tailwinds v2
  • Loading branch information
dougpenny committed Feb 20, 2021
1 parent 9da1a57 commit 5005680
Show file tree
Hide file tree
Showing 25 changed files with 5,771 additions and 83 deletions.
3,260 changes: 3,260 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "lunchmanager",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "rimraf /static/css && postcss resources/css/*.css -d static/css --env production"
},
"repository": {
"type": "git",
"url": "git+https://github.com/NRCA/KnightsLunchManager.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/NRCA/KnightsLunchManager/issues"
},
"homepage": "https://github.com/NRCA/KnightsLunchManager#readme",
"devDependencies": {
"autoprefixer": "^10.2.4",
"postcss": "^8.2.6",
"postcss-cli": "^8.3.1",
"rimraf": "^3.0.2",
"tailwindcss": "^2.0.3"
},
"dependencies": {
"@tailwindcss/forms": "^0.2.1"
}
}
6 changes: 6 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
}
}
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
django==3.1.6
django==3.1.7
djangorestframework==3.12.2
django-auth-adfs==1.6.0
psycopg2-binary==2.8.6
Expand Down
3 changes: 3 additions & 0 deletions resources/css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
Loading

0 comments on commit 5005680

Please sign in to comment.