Add Tailwind CSS
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,6 +2,7 @@
|
||||
assets/dist/*
|
||||
config/*
|
||||
docs/_build/*
|
||||
static/*
|
||||
|
||||
!config/dev.example.py
|
||||
!config/test.py
|
||||
|
||||
3
Makefile
3
Makefile
@@ -9,6 +9,9 @@ coverage coverage-html coverage-report test test-wip test-x : export FLASK_ENV :
|
||||
shell-psql serve-psql export : export FLASK_ENV := development
|
||||
shell-psql serve-psql export : export SIGL_CONFIG := ../config/dev-docker.py
|
||||
|
||||
css :
|
||||
npx tailwindcss -i ./src/css/tailwind.css -o static/sigl.dist.css
|
||||
|
||||
db-init :
|
||||
poetry run flask db init
|
||||
|
||||
|
||||
1198
package-lock.json
generated
Normal file
1198
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
8
package.json
Normal file
8
package.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "sigl",
|
||||
"version": "0.1.0",
|
||||
"description": "Simple Grocery List",
|
||||
"dependencies": {
|
||||
"tailwindcss": "^3.1.6"
|
||||
}
|
||||
}
|
||||
3
src/css/tailwind.css
Normal file
3
src/css/tailwind.css
Normal file
@@ -0,0 +1,3 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
10
tailwind.config.js
Normal file
10
tailwind.config.js
Normal file
@@ -0,0 +1,10 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
content: [
|
||||
'./sigl/templates/**/*.html.j2',
|
||||
],
|
||||
theme: {
|
||||
extend: {},
|
||||
},
|
||||
plugins: [],
|
||||
}
|
||||
Reference in New Issue
Block a user