Milligram Site Profile For CMS Processwire 3x
Milligram Site Profile For Processwire 3x with include functions like:
Essentially, this structure uses minimalist CSS framework Milligram and the Flexbox Grid System Gridlex
- Download the zip file at Github or clone directly the repo:
git clone https://github.com/rafaoski/site-milligram.git
- Extract the folder site-milligram into a fresh ProcessWire installation root folder.
- During the installation of ProcessWire, choose the profile "Milligram Mix".
If you want to use Laravel Mix you must first ensure that Node.js and NPM are installed on your machine.
Basic example to Debian and Ubuntu based Linux distributions:
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs
See more installation options LINK
proxy: 'http://localhost/mix/', to your installation processwire folder like:
Next install npm packages in your templates folder with command
Now, boot up the dev server
npm run watch, and you're all set go!
On completion, use the command
npm run production to build styles and scripts in the dist folder
npm run watch
npm run production