0.0.9 • Published 9 months ago

@burt1/ny-ui v0.0.9

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

burt1/ny

南燕组件库。该组件库采用 Vue3+ Ts + Vite 实现!同时支持Vant以及Element-plus

安装使用

npm install @burt1/ny-ui
# or
pnpm add @burt1/ny-ui
# or
yarn add @burt1/ny-ui
# or
bun add @burt1/ny-ui
  1. global
// main.ts 如果只用移动端组件Vant
import { createApp } from 'vue'
import App from './App.vue'
import NyUi from '@burt1/ny-ui'
import '@burt1/ny-ui/dist/index.css'
import Vant from 'vant'
import 'vant/lib/index.css'
// import ElementPlus from 'element-plus'
// import 'element-plus/dist/index.css'

const app = createApp(App)
app.use(NyUI)
app.use(Vant)
// app.use(ElementPlus)
app.mount('#app')

// xx.vue 使用组件
<ny-email-input></ny-email-input>
  1. Use CDN
<!-- 引入样式 -->
<link rel="stylesheet" href="https://unpkg.com/@burt1/ny-ui@latest/dist/index.css">
<!-- 引入组件库 -->
<script src="https://unpkg.com/@burt1/ny-ui@latest"></script>
0.0.9

9 months ago

0.0.8

9 months ago

0.0.6

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago