0.1.0 • Published 5 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-example
Details
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
:COMMITHASH
provides the git commit hash from git-revision-webpack-plugin
Generator
src/App.vue
: importsbootstrap-vue
by default, uses Bootstrap template.browserslistrc
: sets supported browsers.env.*
: default configuration for different environments
Bugs
Nice to have
Set
lintOnSave
to an expression likeprocess.env.NODE_ENV !== 'production !default'
Set
browserslist
withapi.extendpackage
, but cannot delete the entries that exist already, so we use a template instead
0.1.0
5 years ago
0.0.1-security
5 years ago