mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-03-15 05:31:02 -05:00
* refactor: move router to its own plugin * refactor: rename routerHistoryMode option to historyMode * test: add @vue/cli-plugin-router tests * feat: change src/router.js for most common use cases * fix: fix cli-ui tests * docs: Remove router root option from docs * fix: add support for legacy router option
@vue/cli-ui
Local development
Before starting a local cli-ui instance, consider following the contributing guide in order to download all required dependencies of vue-cli's packages.
Just after, you should build once then serve @vue/cli-ui-addon-webpack by running:
cd ../cli-ui-addon-webpack
yarn build # just do once
yarn serve
Then you start the ui server (based on Apollo):
cd ../cli-ui
yarn run apollo
And then in another terminal, you should serve the ui web app:
yarn run serve
Testing
For running E2E tests, you just need to run:
yarn run test:e2e
This will open a new Cypress window. You can now run all or specific integration tests.