wellvo-system
v1.4.1
Published
Nuxt module for the Wellvo design system
Downloads
10
Readme
Wellvo System Module
This is the base repo that houses the design system from assets to components and shared logic for the pharmhub project. By leveraging the extends feature of nuxt 3, we're able to isolate shared configurations, assets, components, logic, etc, and make them accessible to the various web applications of the project.
Features
- Plugins
- Components
Quick Setup
- Add
wellvo-system
dependency to your project
# Using pnpm
pnpm add -D wellvo-system
# Using yarn
yarn add --dev wellvo-system
# Using npm
npm install --save-dev wellvo-system
- Add
wellvo-system
to themodules
section ofnuxt.config.ts
export default defineNuxtConfig({
modules: ['wellvo-system'],
})
- Update
tailwind.config.js
content: [
...
'node_modules/wellvo-system/dist/runtime/components/**/*.vue'
]
Development
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release