Skip to content

molamil-com/vuejs-ssr-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple scaffold and bundling of Molamil Vue applications with support for SSR and static site generation.

UP & BUILDING

The project currently uses node 6.9.3. If you use nvm as recommended just run nvm use.

$ npm install -g vue-cli
$ vue init molamil-com/vuejs-ssr-template <my-project>
$ cd <my-project>
$ npm install && npm run dev

To build for production,

$ npm run release

To build a prerendered app,

$ npm run release -- render

Both release commands will build a dist folder containing you application.

The last flag passed to npm defines an environment to use. For example,

$ npm run release -- render staging

DEPLOYING

DOCUMENTATION

wiki docs

CONTRIBUTING

FAQ

CREDIT & REFERENCES