From 4e43f138fc96e519c45fe1a3fa2403699f4bb360 Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Mon, 23 Apr 2018 21:30:15 +0200 Subject: [PATCH] docs(ui): Note about components --- docs/plugin-dev-ui.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/plugin-dev-ui.md b/docs/plugin-dev-ui.md index 632950db6..5541c9639 100644 --- a/docs/plugin-dev-ui.md +++ b/docs/plugin-dev-ui.md @@ -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: