rm -rf node_modules && npm install
npm run dev
to test that the design system build and its components work.vue-design-system
dependency in the package.json to point to your own private repository.libraryTarget
setting in config/index.js
to commonjs2
.npm run build:system
inside the vueds project.rm -rf node_modules
to make sure the temporary local installation won’t cause issues.npm install --save file:/Users/viljamis/code/vue-design-system
(modify the path to match your own system).npm install
to install the rest of the dependencies.plugins/design-system.js
:import Vue from 'vue' import DesignSystem from 'vue-design-system' import 'vue-design-system/dist/system/system.css' Vue.use(DesignSystem)
ssr: false
part if you build your library as a commonjs2
module):plugins: [{ src: '~/plugins/design-system', ssr: false }]
npm run dev
to test that your design system build and its components work (you will get a couple of errors for some reason when testing locally).Simplified example on how to use Vue Design System as an NPM Dependency on Nuxt project
Resources Stars Watchers Forks LanguagesYou can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4