feat(projects): 布局调整

This commit is contained in:
Soybean
2021-08-26 18:49:20 +08:00
parent ea5917d225
commit eda87f041d
14 changed files with 40 additions and 119 deletions

View File

@@ -1,9 +1,30 @@
import { create, NSpace, NButton, NDatePicker, NInput } from 'naive-ui';
import {
create,
NLayout,
NLayoutSider,
NLayoutHeader,
NLayoutContent,
NLayoutFooter,
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]
components: [
NLayout,
NLayoutSider,
NLayoutHeader,
NLayoutContent,
NLayoutFooter,
NSpace,
NButton,
NDatePicker,
NInput
]
});
app.use(naive);
}