parent
a944ad4c74
commit
320b4a27de
3 changed files with 6 additions and 2 deletions
|
@ -3,7 +3,7 @@ steps:
|
|||
image: node:lts-alpine
|
||||
commands:
|
||||
- npm install
|
||||
- npx @tailwindcss/cli -o static/styles.css --minify
|
||||
- npm run tailwind:build
|
||||
|
||||
zola:
|
||||
image: alpine:latest
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{
|
||||
"name": "personal_website",
|
||||
"scripts": {
|
||||
"tailwind:watch": "npx @tailwindcss/cli -o ./static/styles.css --watch",
|
||||
"tailwind:build": "npx @tailwindcss/cli -i ./styles/tailwind.css -o ./static/styles.css",
|
||||
"tailwind:watch": "npx @tailwindcss/cli -i ./styles/tailwind.css -o ./static/styles.css --watch",
|
||||
"dev": "concurrently 'npm run tailwind:watch' 'zola serve'"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
3
styles/tailwind.css
Normal file
3
styles/tailwind.css
Normal file
|
@ -0,0 +1,3 @@
|
|||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
Loading…
Add table
Reference in a new issue