0.17.7 • Published 1 year ago
@start-rise/janus v0.17.7
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/janusthen 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:buildPublish the Library
yarn lib:publishAnalyzing bundle sizes with rollup-plugin-visualizer
yarn analyzeLint all files
yarn lintFormat all files
yarn formatUsing 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-package0.17.7
1 year ago