0.2.0 • Published 7 years ago

sails-hook-webpack-vue v0.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

sails-hook-webpack2

NPM version

Webpack 2.x asset pipeline hook for Sails.js specially tailored for the vuejs-templates/webpack

Getting started

This package is best used with the sails-generate-new-webpack-vue which will generate a new sails project using webpack2 instead of grunt and vue.js as a front-end framework and will install this package as a dependency.

For usage or more informations, please read the sails-generate-new-webpack-vue readme.

Usage

This package is a sails.js hook that will be triggered when sails.js lifts. It use the build config located in ./webpack/build and ./webpack/config. Please see the vuejs-templates/webpack documentation for more informations.

In a development environment, it will inject the webpack-dev-middleware, the webpack-hot-middleware and the connect-history-api-fallback middlewares.

In a production envrionment, it will compile the webpack project before the server get lifted.

License

MIT

Maintained By

Damien Plumettaz

Credits

Based on sails-hook-webpack2

0.2.0

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago