npm.io
1.4.1 • Published 2 years ago

wellvo-system

Licence
MIT
Version
1.4.1
Deps
11
Size
195 kB
Vulns
0
Weekly
0

Wellvo System Module

npm version npm downloads License Nuxt

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

  1. 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
  1. Add wellvo-system to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: ['wellvo-system'],
})
  1. 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