refactor(components): 去除packages的soybean-layout,通过npm的方式引入

This commit is contained in:
Soybean
2022-02-23 02:27:22 +08:00
parent 7ba332cd6a
commit c1182fef0a
14 changed files with 739 additions and 1012 deletions

View File

@ -1,5 +1,5 @@
<template>
<soybean-layout
<soybean-admin-layout
:mode="mode"
:min-width="theme.layout.minWidth"
:fixed-header-and-tab="theme.fixedHeaderAndTab"
@ -25,14 +25,15 @@
<template #footer>
<global-footer />
</template>
</soybean-layout>
</soybean-admin-layout>
<setting-drawer />
</template>
<script setup lang="ts">
import SoybeanAdminLayout from 'soybean-admin-layout';
import 'soybean-admin-layout/dist/style.css';
import { useAppStore, useThemeStore } from '@/store';
import { useBasicLayout } from '@/composables';
import { SoybeanLayout } from '@/package';
import { SettingDrawer, GlobalHeader, GlobalTab, GlobalSider, GlobalContent, GlobalFooter } from '../common';
const app = useAppStore();