Frontend framework for starting new projects.
Take a look at https://marsman.marsbased.com
Developed with Middleman (https://middlemanapp.com/). Uses Grunt to automatize SVG inline generation.
To use MarsMan as a template, init the project with the following command:
middleman init new_project -T marsbased/marsman
Webpack configuration is placed in the
config folder with the following structure:
shared.jshas the configuration options shared by all environments.
development.jshas development-specific settings.
production.jshas build specific settings.
By default a full Modernizr build is included. The activated features and detections can be customized in
yarn install bundle install bundle exec middleman server
yarn install yarn start
To update the SVG shapes, place the needed SVG files inside source/shapes and call:
Q: Webpack compilation fails with an error similar to
Error: ENOENT: no such file or directory, scandir '/Users/cooluser/Documents/middleman-webpack-sample/node_modules/node-sass/vendor'
npm rebuild node-sass