Using Vue Design System as an NPM dependency on a static website
October 6, 2018 · View on GitHub
Testing from a remote repository
- Clone this repository
- Run
npm install - Now you can run
npm run serveto test that the design system build and its components work. - When you’re ready to start testing your own system library, switch the
vue-design-systemdependency in the package.json to point to your own private repository.
Going further
To make things even simpler, it’s also possible to build and use Vue Design System’s components as Web Components using vue-web-component-wrapper. For instructions on how to modify the build process, see: https://github.com/vuejs/vue-web-component-wrapper