@chewel/naive-ui-plus
v0.0.65
Published
[Naive Plus UI](https://gitee.com/chewel/naive-ui-plus)
Maintainers
Readme
naive-plus-ui
Document & Online preview
Install & Use
pnpm i @chewel/naive-plus-ui
# or
npm install @chewel/naive-plus-ui
# or
yarn add @chewel/naive-plus-uiImport and register component
Global
import { createApp } from 'vue'
import App from './App.vue'
import NaivePlusUI from '@chewel/naive-plus-ui'
const app = createApp(App)
app.use(NaivePlusUI)Local
<script setup lang="ts">
import { PlusTable } from '@chewel/naive-plus-ui'
</script>Project
- Get the project code
git clone gitee.com/chewel/naive-ui-plus.git- Install dependencies
cd naive-plus-ui
yarn i- Run project
yarn devtailwindcss
由于本项目使用了 tailwindcss,并且并没有把样式都打包到项目中,要求各自的项目中安装 tailwindcss,并且配置好 tailwindcss 的配置文件。
module.exports = {
content: ['./node_modules/@chewel/naive-ui-plus/**/*.{vue,ts,tsx,js}'],
important: true,
theme: {
extend: {},
},
};