0.0.7 • Published 2 years ago

nlxx-ui v0.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

nLxxUi

基于Vue3 + Vite3.0 + TS + tailwindCss 封装的一套UI组件库

安装

使用npm 或 yarn 安装

npm install nlxx-ui
yarn add nlxx-ui

引入 nLxxUi

完整引入

需要注意的是 css 样式文件需要单独引入。

在 main.js 中写入以下内容:

import { createApp } from 'vue'
import App from './App.vue'
// 导入组件库
import nLxxUi from 'nlxx-ui'
import 'nlxx-ui/lib/style.css'
 
const app = createApp(App)

app.use(nLxxUi)
app.mount('#app')

愉快开始

至此 nLxxUi 就引入完成并且可以使用了。

<!-- html -->
<nlxx-button>默认按钮</nlxx-button>
<nlxx-button type="primary">主要按钮</nlxx-button>

借鉴博客:

https://www.cnblogs.com/wangdashi/p/16378015.html

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago