mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-25 05:50:18 +08:00
feat(projects): 新增主题配置
This commit is contained in:
9
src/plugins/naive.ts
Normal file
9
src/plugins/naive.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { create, NSpace, NButton, NDatePicker, NInput } from 'naive-ui';
|
||||
import type { App } from 'vue';
|
||||
|
||||
export default function setupNaive(app: App) {
|
||||
const naive = create({
|
||||
components: [NSpace, NButton, NDatePicker, NInput]
|
||||
});
|
||||
app.use(naive);
|
||||
}
|
||||
Reference in New Issue
Block a user