0.22.2 • Published 11 months ago

@asteres/neatui-vue v0.22.2

Weekly downloads
-
License
MulanPSL-2.0
Repository
github
Last release
11 months ago

neatui-vue

Neat UI 是一个基于 Vue3 的轻量级的 UI 组件库,提供基础的 UI 组件,方便开发。

使用

安装依赖

  1. 安装 UI 库
npm install @asteres/neatui-vue
  1. 安装自动导入插件
npm install -D unplugin-vue-components unplugin-auto-import neatui-vue-resolver
  1. 修改 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',
    }),
  ],
});
  1. 引入全局 CSS 变量文件

main.ts 中引入全局 CSS 变量文件

import '@asteres/neatui-vue/style/vars.css';

文档

中文 文档

更新记录

LICENSE

neatui-vue is open source software licensed as MulanPSL-2.0.

0.21.0

12 months ago

0.22.2

11 months ago

0.20.1

12 months ago

0.20.0

12 months ago

0.19.4

12 months ago

0.19.0

1 year ago

0.19.1

1 year ago

0.19.2

1 year ago

0.19.3

1 year ago

0.18.1

1 year ago

0.17.0

1 year ago

0.18.0

1 year ago

0.9.3

1 year ago

0.11.0

1 year ago

0.14.0

1 year ago

0.15.0

1 year ago

0.14.1

1 year ago

0.16.0

1 year ago

0.14.2

1 year ago

0.14.3

1 year ago

0.10.0

1 year ago

0.9.0

1 year ago

0.8.1

1 year ago

0.5.4

1 year ago

0.8.0

1 year ago

0.7.1

1 year ago

0.6.2

1 year ago

0.5.3

1 year ago

0.9.2

1 year ago

0.6.5

1 year ago

0.9.1

1 year ago

0.5.0

1 year ago

0.7.0

1 year ago

0.6.1

1 year 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

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago