Necromancers Playing MTG

    @ly-js/element
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.1 • Public • Published

    @ly-js/element

    @ly-js/element 是一个 element-plus 二次封装库

    Install

    NPM

    npm i @ly-js/element --save

    YARN

    yarn add @ly-js/element

    pnpm

    pnpm add @ly-js/element

    Usage

    方式一:全局引入

    import LyElement from '@ly-js/element'
    import '@ly-js/element/lib/index.css'
    createApp(App).use(LyElement)

    方式二(推荐):自动引入,需要引入插件:unplugin-vue-components

    const Components = require('unplugin-vue-components/webpack')
    const { LyElementResolver } = require('@ly-js/element/resolver')
    Components({
      resolvers: [LyElementResolver()]
    })

    方式三:按需引入,需要插件

    ts-import-plugin/babel-plugin-import

    Install

    npm i @ly-js/element

    DownloadsWeekly Downloads

    24

    Version

    0.1.1

    License

    ISC

    Unpacked Size

    2.89 MB

    Total Files

    493

    Last publish

    Collaborators

    • lardliyi