archetypes | ||
assets/css | ||
content | ||
static | ||
themes/main-theme | ||
.gitignore | ||
config.toml | ||
dev.sh | ||
README.md | ||
tailwind.config.js | ||
tailwindcss |
README
This project uses the Hugo framework and Tailwind css for as CSS library.
For local development
Hugo
See the Hugo development commands https://gohugo.io/getting-started/usage/#develop-and-test-your-site
Tailwind
As (for now) we are not using any node npm packages for the frontend that's why we are using the Standalone CLI of Tailwind. If it turns out we need more packages we might switch to npm, but for now we are trying to avoid it.
To use Tailwind Standalone CLI please follow these instructions. It depends on your OS what executable you need to download.
(If we need to switch to NPM checkout this setup: https://github.com/arthaud-proust-pro/hugo-tailwind)
All together
There is a bash script to run all local development scripts.
You might need to give the file permission first with chmod +x ./dev.hs
.
Then run bash dev.hs
.
This fires up the local Hugo server and Tailwind.