Impressum Kontakt Title

UX

Setup Hugo with Tailwindcss

HIC UX 24.09.2021

Hugo and Tailwindcss Install Hugo > choco install hugo-extended -confirm > hugo new site website > cd .\website\ > hugo new theme bitmagie modify config.toml theme = "bitmagie" Tailwindcss > yarn init -y > yarn add -D tailwindcss@latest postcss@latest autoprefixer@latest > yarn add -D @tailwindcss/typography > yarn add -D postcss-cli@latest postcss-import@latest > yarn add -D @fullhuman/postcss-purgecss > mkdir -p themes\bitmagie\assets\css\ > cd .\themes\bitmagie\assets\css\ > npx tailwindcss init -p > ni styles.