mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-02-13 18:39:31 -06:00
* docs(cli-ui): add some more user-friendly notes * docs(cli-ui): add notes about running E2E tests locally * chore(docs:cli-ui): cr/wording * chore(docs:cli-ui): revert some changes, remove additionnal command for tests * chore(docs:cli-ui): commands for cli-ui-addon-wepack
39 lines
800 B
Markdown
39 lines
800 B
Markdown
# @vue/cli-ui
|
|
|
|
### Local development
|
|
|
|
Before starting a local cli-ui instance,
|
|
consider following the [contributing guide](https://github.com/vuejs/vue-cli/blob/dev/.github/CONTRIBUTING.md)
|
|
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:
|
|
```bash
|
|
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](https://www.cypress.io/) window.
|
|
You can now run all or specific integration tests.
|