A boilerplate wrapping Hugo using Brunch
First run npm install
pls.
npm start
will start the server for both Brunch and Hugo. Brunch runs your JS through Babel and also compiles your postcss.
I included the entirity of shoelace.css because it was easier, but I don't recommend using it all. Pick out the bits you want from https://github.com/claviska/shoelace-css/blob/master/source/css/shoelace.css and import those. I usually just use the variables, content, forms, tables, and utilities.
You can use this with Hugo's nifty --skeleton
flag like brunch new --skeleton https://github.com/Jayphen/brunch-with-hugo.git <projectname>
. That will create a project, run an npm install for you, and BAM you have a shitty boilerplate thanks to me!
Go check out the Hugo docs and make something better than this because you're smarter than me.