A laravel-mix powered Statamic theme framework
This is a simple Statamic theme framework that uses Laravel Mix for asset compilation.
✅ SCSS / Bootstrap 4 compilation to CSS files
✅ Webpack awesomeness
✅ Laravel Mix's saucy magic
✅ JS compiling / minification
✅ Ready to develop on instantly
- Download a fresh statamic site installation (or jump into an existing)
cd site/themes
git clone [email protected]:CodepotatoLtd/startamix.git <name-of-your-theme>
- Update webpacke.mix.js file to rename the css and js files to match your theme
npm install
npm run watch
to start watching for your code changes- When you're ready to push to production
npm run production
- Prosper 💰👏
Whilst this is MIT licensed there's no professional support, but please feel free to open a ticket if you experience any issues or have any feedback / improvements.
Enjoy!