mirror of
https://github.com/silenty4ng/k5web
synced 2025-01-08 21:04:19 +00:00
update
This commit is contained in:
parent
2a509a3e16
commit
3e938943d1
3 changed files with 19 additions and 3 deletions
17
components.d.ts
vendored
17
components.d.ts
vendored
|
@ -9,7 +9,24 @@ export {}
|
||||||
|
|
||||||
declare module '@vue/runtime-core' {
|
declare module '@vue/runtime-core' {
|
||||||
export interface GlobalComponents {
|
export interface GlobalComponents {
|
||||||
|
Block: typeof import('./src/components/global-setting/block.vue')['default']
|
||||||
|
Breadcrumb: typeof import('./src/components/breadcrumb/index.vue')['default']
|
||||||
|
Chart: typeof import('./src/components/chart/index.vue')['default']
|
||||||
|
Footer: typeof import('./src/components/footer/index.vue')['default']
|
||||||
|
FormWrapper: typeof import('./src/components/global-setting/form-wrapper.vue')['default']
|
||||||
|
GlobalSetting: typeof import('./src/components/global-setting/index.vue')['default']
|
||||||
|
List: typeof import('./src/components/message-box/list.vue')['default']
|
||||||
|
Menu: typeof import('./src/components/menu/index.vue')['default']
|
||||||
|
MessageBox: typeof import('./src/components/message-box/index.vue')['default']
|
||||||
|
Navbar: typeof import('./src/components/navbar/index.vue')['default']
|
||||||
RouterLink: typeof import('vue-router')['RouterLink']
|
RouterLink: typeof import('vue-router')['RouterLink']
|
||||||
RouterView: typeof import('vue-router')['RouterView']
|
RouterView: typeof import('vue-router')['RouterView']
|
||||||
|
TabBar: typeof import('./src/components/tab-bar/index.vue')['default']
|
||||||
|
TabItem: typeof import('./src/components/tab-bar/tab-item.vue')['default']
|
||||||
|
TButton: typeof import('tdesign-vue-next')['Button']
|
||||||
|
TCheckbox: typeof import('tdesign-vue-next')['Checkbox']
|
||||||
|
TCheckboxGroup: typeof import('tdesign-vue-next')['CheckboxGroup']
|
||||||
|
TSwitch: typeof import('tdesign-vue-next')['Switch']
|
||||||
|
TTable: typeof import('tdesign-vue-next')['Table']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,7 @@ import configArcoStyleImportPlugin from './plugin/arcoStyleImport';
|
||||||
import AutoImport from 'unplugin-auto-import/vite';
|
import AutoImport from 'unplugin-auto-import/vite';
|
||||||
import Components from 'unplugin-vue-components/vite';
|
import Components from 'unplugin-vue-components/vite';
|
||||||
import { TDesignResolver } from 'unplugin-vue-components/resolvers';
|
import { TDesignResolver } from 'unplugin-vue-components/resolvers';
|
||||||
|
import { ArcoResolver } from 'unplugin-vue-components/resolvers';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [
|
plugins: [
|
||||||
|
@ -23,7 +24,7 @@ export default defineConfig({
|
||||||
Components({
|
Components({
|
||||||
resolvers: [TDesignResolver({
|
resolvers: [TDesignResolver({
|
||||||
library: 'vue-next'
|
library: 'vue-next'
|
||||||
})],
|
}), ArcoResolver()],
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
resolve: {
|
resolve: {
|
||||||
|
|
|
@ -2,7 +2,6 @@ import { mergeConfig } from 'vite';
|
||||||
import baseConfig from './vite.config.base';
|
import baseConfig from './vite.config.base';
|
||||||
import configCompressPlugin from './plugin/compress';
|
import configCompressPlugin from './plugin/compress';
|
||||||
import configVisualizerPlugin from './plugin/visualizer';
|
import configVisualizerPlugin from './plugin/visualizer';
|
||||||
import configArcoResolverPlugin from './plugin/arcoResolver';
|
|
||||||
import configImageminPlugin from './plugin/imagemin';
|
import configImageminPlugin from './plugin/imagemin';
|
||||||
|
|
||||||
export default mergeConfig(
|
export default mergeConfig(
|
||||||
|
@ -11,7 +10,6 @@ export default mergeConfig(
|
||||||
plugins: [
|
plugins: [
|
||||||
configCompressPlugin('gzip'),
|
configCompressPlugin('gzip'),
|
||||||
configVisualizerPlugin(),
|
configVisualizerPlugin(),
|
||||||
configArcoResolverPlugin(),
|
|
||||||
configImageminPlugin(),
|
configImageminPlugin(),
|
||||||
],
|
],
|
||||||
build: {
|
build: {
|
||||||
|
|
Loading…
Reference in a new issue