0.20.1 • Published 8 months ago
@asteres/neatui-vue v0.20.1
neatui-vue
Neat UI
是一个基于 Vue3
的轻量级的 UI
组件库,提供基础的 UI
组件,方便开发。
使用
安装依赖
- 安装 UI 库
npm install @asteres/neatui-vue
- 安装自动导入插件
npm install -D unplugin-vue-components unplugin-auto-import neatui-vue-resolver
- 修改 Vite 配置
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import AutoImport from 'unplugin-auto-import/vite';
import Components from 'unplugin-vue-components/vite';
import NeatuiResolver from 'neatui-vue-resolver';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
AutoImport({
resolvers: [NeatuiResolver()],
dts: 'src/auto-imports.d.ts',
}),
Components({
resolvers: [NeatuiResolver()],
dts: 'src/components.d.ts',
}),
],
});
- 引入全局 CSS 变量文件
在 main.ts
中引入全局 CSS 变量文件
import '@asteres/neatui-vue/style/vars.css';
文档
更新记录
LICENSE
neatui-vue is open source software licensed as MulanPSL-2.0.
0.20.1
8 months ago
0.20.0
8 months ago
0.19.4
8 months ago
0.19.0
9 months ago
0.19.1
9 months ago
0.19.2
9 months ago
0.19.3
8 months ago
0.18.1
9 months ago
0.17.0
9 months ago
0.18.0
9 months ago
0.9.3
11 months ago
0.11.0
11 months ago
0.14.0
10 months ago
0.15.0
10 months ago
0.14.1
10 months ago
0.16.0
10 months ago
0.14.2
10 months ago
0.14.3
10 months ago
0.10.0
11 months ago
0.9.0
12 months ago
0.8.1
12 months ago
0.5.4
1 year ago
0.8.0
12 months ago
0.7.1
12 months ago
0.6.2
12 months ago
0.5.3
1 year ago
0.9.2
12 months ago
0.6.5
12 months ago
0.9.1
12 months ago
0.5.0
1 year ago
0.7.0
12 months ago
0.6.1
12 months ago
0.5.2
1 year ago
0.6.0
1 year ago
0.2.0
1 year ago
0.1.0
1 year ago
0.0.7
1 year ago
0.0.5
1 year ago
0.0.4
1 year ago
0.0.6
1 year ago
0.0.3
1 year ago
0.0.2
1 year ago
0.0.1
1 year ago