This is my personal starter code for Hugo x TailwindCSS.
Get the theme
-
Run from the root of your Hugo site:
git clone https://github.com/antheiz/hugo-tailwind-starter.git themes/karokari
-
Alternatively, you can include this repository as a git submodule. This makes it easier to update this theme if you have your Hugo site in git as well:
git submodule add https://github.com/antheiz/hugo-tailwind-starter.git themes/karokari
Configuring theme to your project
- Copy
package.json
andpackage-lock.json
to the root folder of your the website - Run
npm install
to install required packages for theme - Set
theme = 'karokari'
in config.toml - Run
hugo server
to start your local server
Licensed under MIT