Single page application skeleton for production and development in 2015 & 2016.
I use this repository to start projects where I want to achieve a small filesize footprint while using popular tools.
- Node.js
- Please update node if you already have it.
- Git installed, use 'git --version' to check.
git clone https://github.com/meanJim/bare.git && cd bare && npm install
npm start
View localhost:3001 in your browser. Now you have development with hot loading and autoprefixing.
npm run deploy
View localhost:3000 in your browser. You can use this when you're deploying on some box somewhere.
npm run production
View /dist folder using finder or command line. Here is what you start out with.
app.js - 11.5kb
app.css - 810 bytes
You could probably gzip app.js
for more savings.
Just slang your feelings to me on twitter @meanjim.