@start-rise/janus
v0.17.7
Published
🤌 A lightweight Vue 3 Component Library based on VariantJS & Headless UI
Downloads
1
Readme
Janus Components
A lightweight Vue 3 component library based on VariantJS & HeadlessUi + Janus Components
Usage
First install the library using your prefered package manager
npm install @start-rise/janus
then you can import the available components like so
import { Button } from '@janus'
Available commands
Here is a list of all available npm commands.
Building the library bundles
yarn lib:build
Publish the Library
yarn lib:publish
Analyzing bundle sizes with rollup-plugin-visualizer
yarn analyze
Lint all files
yarn lint
Format all files
yarn format
Using the Package on Vuepress or Locally
yarn link
then on your vuepress yarn link "@start-rise/janus"
Or using pnpm ``
CSS
Since we incorporate font awesome, we do have a stylesheet that needs to be imported
@import '@start-rise/janus/dist/style.css'
** Patching **
https://github.com/ds300/patch-package
Edit the files in node_modules
npx patch-package @vue/theme
npx patch-package