0.1.0 • Published 6 years ago
vue-cli-plugin-vueconf-2019-example v0.1.0
vue-cli-plugin-vueconf-2019-example
@vue/cli 3.x plugin example by Optoro for VueConf US 2019, watch the talk.
Usage
vue add vueconf-2019-exampleDetails
Webpack
Plugins:
ManifestPlugin: for generating a JSON output of the build assetsHoneybadgerSourceMapPlugin: for tracking deploys of staging/production builds to provide source maps for better stack tracesDefinePlugin:COMMITHASHprovides the git commit hash from git-revision-webpack-plugin
Generator
src/App.vue: importsbootstrap-vueby default, uses Bootstrap template.browserslistrc: sets supported browsers.env.*: default configuration for different environments
Bugs
Nice to have
Set
lintOnSaveto an expression likeprocess.env.NODE_ENV !== 'production !default'Set
browserslistwithapi.extendpackage, but cannot delete the entries that exist already, so we use a template instead
0.1.0
6 years ago
0.0.1-security
6 years ago