Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

Latest commit

 

History

History
20 lines (14 loc) · 636 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 636 Bytes

vue-webpack-stylus-pug-boilerplate

Webpack setup for vuejs, stylus + postcss (autoprefixer and cssnano), pug|jade generate separed files

Usage

This is a project template for vue-cli.

$ npm install -g vue-cli
$ vue init cyberlis/vue-webpack-template my-project
$ cd my-project
$ npm install
$ npm run dev

What's included

  • npm run dev: Webpack-dev-server + vue + stylus + postcss (autoprefixer and cssnano) + pug|jade with proper config for sourceMaps & hot-reload.
  • npm run build: Production build with CSS and JS minification in dist directory.