Skip to content

lovue/lovue

Repository files navigation

Lovue

downloads downloads

  • Each component is just a single .vue file.
  • Implemented by modern syntax and features.
  • Better performance with nearly 60 FPS.

Docs

Note

For Vue 2, please install lovue@^3.0.0

Develop

pnpm install
pnpm run dev
pnpm run build

Usage

  • import from npm to use all components directly.
npm install -D lovue
//main.js
import lovue from 'lovue'
import { createApp } from 'vue'

const app = createApp({
  data() {
    return {
      count: 0
    }
  }
})
app.use(lovue)
app.mount('#app')
  • import single component on-demand.
import { LvTable } from 'lovue'
  • some components must be imported explicitly.
import { Indicator, Dialog, Toast } from 'lovue'
// extension components
import { LvBadge, LvMenu, LvSteps } from 'lovue'