mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-25 08:38:57 -06:00
1dc47eb955eaefe2a62d2706b1449b8e4d21788b
close #1436 BREAKING CHANGE: When building a js/ts entry file with --target lib, the library now exposes a Module with both default and named exports. This means in the UMD build, the default export now needs to be accessed as `window.yourLib.default`, and in the CommonJS build as `const yourLib = require('yourLib').default`. If you don't have named exports and want to retain the previous behavior, you can configure webpack to use `output.libraryExport: 'default'` in `vue.config.js`.
vue-cli

This is the branch for
@vue/cli3.0.
Status: beta
Most of the planned features are in place but there may still be bugs. API may still change until we reach RC phase. Do not use in production yet unless you are adventurous.
Quickstart
npm install -g @vue/cli
# or
yarn global add @vue/cli
vue create my-project
For a detailed guide with recipes for common tasks, detailed usage for each plugin, please see the full documentation.
Contributing
Please see contributing guide.
License
Languages
JavaScript
75%
Vue
22.9%
TypeScript
0.9%
Stylus
0.5%
HTML
0.3%
Other
0.4%