mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-03-14 13:11:10 -05:00
docs(ui): Note about components
This commit is contained in:
@@ -350,6 +350,7 @@ ClientAddonApi.addRoutes('vue-webpack', [
|
||||
|
||||
The cli-ui registers `Vue` and `ClientAddonApi` as global variables in the `window` scope.
|
||||
|
||||
In your components, you can use all the components and the CSS classes of [@vue/ui](https://github.com/vuejs/ui) and [@vue/cli-ui](https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-ui/src/components) in order to keep the look and feel consistent.
|
||||
#### Register the client addon
|
||||
|
||||
Back to the `ui.js` file, use the `api.addClientAddon` method with a require query to the built folder:
|
||||
|
||||
Reference in New Issue
Block a user