webpack-config-vue
webpack presets for vue
Last updated 5 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install webpack-config-vue 
SYNC missed versions from official npm registry.

webpack-config-vue build status

Reusable Webpack config for Vue.js

Install

You should install webpack-config-babel6 first.

$ npm install --save-dev webpack-config-vue

Example

In your webpack.config.js:

const babel = require('webpack-config-babel6')
const vue = require('webpack-config-vue')

let config = {
  entry: './main.js',
  output: {
    path: __dirname + '/build',
    filename: 'bundle.js'
  }
}

config = babel(config)
config = vue(config)

// apply postcss plugins
config.vue.postcss = [
  require('precss')
]

module.exports = config

License

MIT © EGOIST

Current Tags

  • 1.0.5                                ...           latest (5 years ago)

5 Versions

  • 1.0.5                                ...           5 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (6)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |