Files
vue-cli/packages/@vue/cli-ui
Guillaume Chau da43343329 fix(CORS): only allow connections from the designated host (#4985)
* fix(cors): only allow localhost

* fix: use host so it's configurable

* fix: use cors options object

* feat: use a custom graphql-server instead of the one from apollo plugin

exports the httpServer instance

* fix: add CORS validation in the http upgrade request

Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
2020-02-03 19:35:40 +08:00
..
2020-01-14 10:13:54 +08:00
2018-03-04 00:58:57 +01:00
2018-05-25 02:17:57 +02:00
2019-04-11 00:13:17 +02:00

@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.