create-bubbles 0.0.19 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/index.mjs +24 -24
  2. package/package.json +1 -1
  3. package/template-react-rsbuild/biome.json +33 -53
  4. package/template-react-rsbuild/package.json +21 -21
  5. package/template-vue-rolldown-oxlint/.env +6 -0
  6. package/template-vue-rolldown-oxlint/.gitignore +24 -0
  7. package/template-vue-rolldown-oxlint/.gitlab-ci.yml +76 -0
  8. package/template-vue-rolldown-oxlint/.npmrc +5 -0
  9. package/template-vue-rolldown-oxlint/.oxlintrc.json +17 -0
  10. package/template-vue-rolldown-oxlint/.prettierrc +18 -0
  11. package/template-vue-rolldown-oxlint/README.md +31 -0
  12. package/template-vue-rolldown-oxlint/commitlint.config.js +1 -0
  13. package/template-vue-rolldown-oxlint/components.d.ts +18 -0
  14. package/template-vue-rolldown-oxlint/index.html +13 -0
  15. package/template-vue-rolldown-oxlint/lefthook.yml +11 -0
  16. package/template-vue-rolldown-oxlint/package.json +51 -0
  17. package/template-vue-rolldown-oxlint/postcss.config.js +5 -0
  18. package/template-vue-rolldown-oxlint/public/vite.svg +1 -0
  19. package/template-vue-rolldown-oxlint/src/App.vue +7 -0
  20. package/template-vue-rolldown-oxlint/src/assets/icon/vue.svg +1 -0
  21. package/template-vue-rolldown-oxlint/src/components/Icon/svg-icon.vue +29 -0
  22. package/template-vue-rolldown-oxlint/src/layout/default/index.vue +3 -0
  23. package/template-vue-rolldown-oxlint/src/main.ts +15 -0
  24. package/template-vue-rolldown-oxlint/src/router/guard/index.tsx +7 -0
  25. package/template-vue-rolldown-oxlint/src/router/guard/permissionGuard.ts +8 -0
  26. package/template-vue-rolldown-oxlint/src/router/index.tsx +15 -0
  27. package/template-vue-rolldown-oxlint/src/router/modules/index.tsx +31 -0
  28. package/template-vue-rolldown-oxlint/src/store/index.ts +10 -0
  29. package/template-vue-rolldown-oxlint/src/styles/element-plus-variables.css +4 -0
  30. package/template-vue-rolldown-oxlint/src/styles/font.scss +0 -0
  31. package/template-vue-rolldown-oxlint/src/styles/index.scss +31 -0
  32. package/template-vue-rolldown-oxlint/src/styles/variables.scss +3 -0
  33. package/template-vue-rolldown-oxlint/src/types/auto-import.d.ts +76 -0
  34. package/template-vue-rolldown-oxlint/src/types/components.d.ts +16 -0
  35. package/template-vue-rolldown-oxlint/src/utils/env.ts +5 -0
  36. package/template-vue-rolldown-oxlint/src/views/home/index.vue +15 -0
  37. package/template-vue-rolldown-oxlint/src/views/model/index.vue +7 -0
  38. package/template-vue-rolldown-oxlint/src/vite-env.d.ts +13 -0
  39. package/template-vue-rolldown-oxlint/tsconfig.app.json +25 -0
  40. package/template-vue-rolldown-oxlint/tsconfig.json +4 -0
  41. package/template-vue-rolldown-oxlint/tsconfig.node.json +25 -0
  42. package/template-vue-rolldown-oxlint/uno.config.ts +13 -0
  43. package/template-vue-rolldown-oxlint/vite.config.ts +48 -0
  44. package/template-vue-rsbuild/biome.json +33 -53
  45. package/template-vue-rsbuild/package.json +15 -14
  46. package/template-vue-rsbuild/rsbuild.config.ts +7 -0
  47. package/template-vue-rsbuild/src/types/auto-import.d.ts +3 -18
  48. package/template-vue-rsbuild/src/types/components.d.ts +15 -0
  49. package/template-vue-rsbuild/src/utils/request/axios.ts +1 -1
  50. package/template-vue-rsbuild/src/views/home/index.vue +4 -1
@@ -0,0 +1,3 @@
1
+ :root {
2
+ --header-height: 80px;
3
+ }
@@ -0,0 +1,76 @@
1
+ /* eslint-disable */
2
+ /* prettier-ignore */
3
+ // @ts-nocheck
4
+ // noinspection JSUnusedGlobalSymbols
5
+ // Generated by unplugin-auto-import
6
+ // biome-ignore lint: disable
7
+ export {}
8
+ declare global {
9
+ const EffectScope: typeof import('vue')['EffectScope']
10
+ const computed: typeof import('vue')['computed']
11
+ const createApp: typeof import('vue')['createApp']
12
+ const customRef: typeof import('vue')['customRef']
13
+ const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
14
+ const defineComponent: typeof import('vue')['defineComponent']
15
+ const effectScope: typeof import('vue')['effectScope']
16
+ const getCurrentInstance: typeof import('vue')['getCurrentInstance']
17
+ const getCurrentScope: typeof import('vue')['getCurrentScope']
18
+ const h: typeof import('vue')['h']
19
+ const inject: typeof import('vue')['inject']
20
+ const isProxy: typeof import('vue')['isProxy']
21
+ const isReactive: typeof import('vue')['isReactive']
22
+ const isReadonly: typeof import('vue')['isReadonly']
23
+ const isRef: typeof import('vue')['isRef']
24
+ const markRaw: typeof import('vue')['markRaw']
25
+ const nextTick: typeof import('vue')['nextTick']
26
+ const onActivated: typeof import('vue')['onActivated']
27
+ const onBeforeMount: typeof import('vue')['onBeforeMount']
28
+ const onBeforeRouteLeave: typeof import('vue-router')['onBeforeRouteLeave']
29
+ const onBeforeRouteUpdate: typeof import('vue-router')['onBeforeRouteUpdate']
30
+ const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
31
+ const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
32
+ const onDeactivated: typeof import('vue')['onDeactivated']
33
+ const onErrorCaptured: typeof import('vue')['onErrorCaptured']
34
+ const onMounted: typeof import('vue')['onMounted']
35
+ const onRenderTracked: typeof import('vue')['onRenderTracked']
36
+ const onRenderTriggered: typeof import('vue')['onRenderTriggered']
37
+ const onScopeDispose: typeof import('vue')['onScopeDispose']
38
+ const onServerPrefetch: typeof import('vue')['onServerPrefetch']
39
+ const onUnmounted: typeof import('vue')['onUnmounted']
40
+ const onUpdated: typeof import('vue')['onUpdated']
41
+ const onWatcherCleanup: typeof import('vue')['onWatcherCleanup']
42
+ const provide: typeof import('vue')['provide']
43
+ const reactive: typeof import('vue')['reactive']
44
+ const readonly: typeof import('vue')['readonly']
45
+ const ref: typeof import('vue')['ref']
46
+ const resolveComponent: typeof import('vue')['resolveComponent']
47
+ const shallowReactive: typeof import('vue')['shallowReactive']
48
+ const shallowReadonly: typeof import('vue')['shallowReadonly']
49
+ const shallowRef: typeof import('vue')['shallowRef']
50
+ const toRaw: typeof import('vue')['toRaw']
51
+ const toRef: typeof import('vue')['toRef']
52
+ const toRefs: typeof import('vue')['toRefs']
53
+ const toValue: typeof import('vue')['toValue']
54
+ const triggerRef: typeof import('vue')['triggerRef']
55
+ const unref: typeof import('vue')['unref']
56
+ const useAttrs: typeof import('vue')['useAttrs']
57
+ const useCssModule: typeof import('vue')['useCssModule']
58
+ const useCssVars: typeof import('vue')['useCssVars']
59
+ const useId: typeof import('vue')['useId']
60
+ const useLink: typeof import('vue-router')['useLink']
61
+ const useModel: typeof import('vue')['useModel']
62
+ const useRoute: typeof import('vue-router')['useRoute']
63
+ const useRouter: typeof import('vue-router')['useRouter']
64
+ const useSlots: typeof import('vue')['useSlots']
65
+ const useTemplateRef: typeof import('vue')['useTemplateRef']
66
+ const watch: typeof import('vue')['watch']
67
+ const watchEffect: typeof import('vue')['watchEffect']
68
+ const watchPostEffect: typeof import('vue')['watchPostEffect']
69
+ const watchSyncEffect: typeof import('vue')['watchSyncEffect']
70
+ }
71
+ // for type re-export
72
+ declare global {
73
+ // @ts-ignore
74
+ export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
75
+ import('vue')
76
+ }
@@ -0,0 +1,16 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ // Generated by unplugin-vue-components
4
+ // Read more: https://github.com/vuejs/core/pull/3399
5
+ // biome-ignore lint: disable
6
+ export {}
7
+
8
+ /* prettier-ignore */
9
+ declare module 'vue' {
10
+ export interface GlobalComponents {
11
+ ElButton: typeof import('element-plus/es')['ElButton']
12
+ RouterLink: typeof import('vue-router')['RouterLink']
13
+ RouterView: typeof import('vue-router')['RouterView']
14
+ SvgIcon: typeof import('./../components/Icon/svg-icon.vue')['default']
15
+ }
16
+ }
@@ -0,0 +1,5 @@
1
+ export const envVariables = {
2
+ APP_NAME: import.meta.env.VITE_APP_NAME,
3
+ /* 接口前缀 */
4
+ API_AFFIX: import.meta.env.VITE_API_AFFIX,
5
+ }
@@ -0,0 +1,15 @@
1
+ <script setup lang="ts">
2
+ import SvgIcon from '@/components/Icon/svg-icon.vue'
3
+
4
+ const a = ref()
5
+ </script>
6
+
7
+ <template>
8
+ <div>
9
+ home
10
+ <SvgIcon name="vue" class="text-red" />
11
+ <el-button type="primary">按钮</el-button>
12
+ </div>
13
+ </template>
14
+
15
+ <style lang="scss" scoped></style>
@@ -0,0 +1,7 @@
1
+ <script setup lang="ts"></script>
2
+
3
+ <template>
4
+ <div>model</div>
5
+ </template>
6
+
7
+ <style lang="scss" scoped></style>
@@ -0,0 +1,13 @@
1
+ /// <reference types="vite/client" />
2
+
3
+ declare module '*.vue' {
4
+ import type { DefineComponent } from 'vue'
5
+ const component: DefineComponent<{}, {}, any>
6
+ export default component
7
+ }
8
+
9
+ // vite-plugin-svg-icons 类型声明
10
+ declare module 'virtual:svg-icons-register' {
11
+ const register: () => void
12
+ export default register
13
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "extends": "@vue/tsconfig/tsconfig.dom.json",
3
+ "compilerOptions": {
4
+ "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
5
+
6
+ /* Linting */
7
+ "strict": true,
8
+ "noUnusedLocals": true,
9
+ "noUnusedParameters": true,
10
+ "erasableSyntaxOnly": true,
11
+ "noFallthroughCasesInSwitch": true,
12
+ "noUncheckedSideEffectImports": true,
13
+ "baseUrl": ".",
14
+ "paths": {
15
+ "@/*": ["src/*"]
16
+ }
17
+ },
18
+ "include": [
19
+ "src/**/*.ts",
20
+ "src/**/*.tsx",
21
+ "src/**/*.vue",
22
+ "src/types/**/*",
23
+ "./node_modules/element-plus/global.d.ts"
24
+ ]
25
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "files": [],
3
+ "references": [{ "path": "./tsconfig.app.json" }, { "path": "./tsconfig.node.json" }]
4
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "compilerOptions": {
3
+ "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
4
+ "target": "ES2023",
5
+ "lib": ["ES2023"],
6
+ "module": "ESNext",
7
+ "skipLibCheck": true,
8
+
9
+ /* Bundler mode */
10
+ "moduleResolution": "bundler",
11
+ "allowImportingTsExtensions": true,
12
+ "verbatimModuleSyntax": true,
13
+ "moduleDetection": "force",
14
+ "noEmit": true,
15
+
16
+ /* Linting */
17
+ "strict": true,
18
+ "noUnusedLocals": true,
19
+ "noUnusedParameters": true,
20
+ "erasableSyntaxOnly": true,
21
+ "noFallthroughCasesInSwitch": true,
22
+ "noUncheckedSideEffectImports": true
23
+ },
24
+ "include": ["vite.config.ts"]
25
+ }
@@ -0,0 +1,13 @@
1
+ import { defineConfig, presetWind3 } from 'unocss'
2
+
3
+ export default defineConfig({
4
+ content: {
5
+ filesystem: ['**/*.{html,js,ts,jsx,tsx,vue,svelte,astro}'],
6
+ },
7
+ presets: [presetWind3()],
8
+ shortcuts: [
9
+ {
10
+ 'flex-center': 'flex justify-center items-center',
11
+ },
12
+ ],
13
+ })
@@ -0,0 +1,48 @@
1
+ import path from 'node:path'
2
+ import Vue from '@vitejs/plugin-vue'
3
+ import AutoImport from 'unplugin-auto-import/vite'
4
+ import { defineConfig, loadEnv } from 'vite'
5
+ import { createSvgIconsPlugin } from 'vite-plugin-svg-icons'
6
+ import Components from 'unplugin-vue-components/vite'
7
+ import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
8
+ import Inspect from 'vite-plugin-inspect'
9
+
10
+ // https://vite.dev/config/
11
+ export default defineConfig(({ command, mode }) => {
12
+ const root = process.cwd()
13
+ const env = loadEnv(mode, root)
14
+ const { VITE_PORT } = env
15
+
16
+ return {
17
+ resolve: {
18
+ alias: {
19
+ '@': path.resolve(__dirname, 'src'),
20
+ },
21
+ },
22
+ server: {
23
+ port: VITE_PORT,
24
+ host: '0.0.0.0',
25
+ open: false,
26
+ proxy: {},
27
+ },
28
+ plugins: [
29
+ Vue(),
30
+ AutoImport({
31
+ imports: ['vue', 'vue-router'],
32
+ resolvers: [ElementPlusResolver()],
33
+ dts: './src/types/auto-import.d.ts',
34
+ }),
35
+ Components({
36
+ resolvers: [ElementPlusResolver()],
37
+ dts: './src/types/components.d.ts',
38
+ }),
39
+ createSvgIconsPlugin({
40
+ // Specify the icon folder to be cached
41
+ iconDirs: [path.resolve(__dirname, 'src/assets/icon')],
42
+ // Specify symbolId format
43
+ symbolId: 'icon-[dir]-[name]',
44
+ }),
45
+ Inspect(),
46
+ ],
47
+ }
48
+ })
@@ -1,7 +1,7 @@
1
1
  {
2
+ "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
2
3
  "files": {
3
- "ignoreUnknown": true,
4
- "ignore": ["dist/*", "node_modules", "package.json"]
4
+ "ignoreUnknown": true
5
5
  },
6
6
  "formatter": {
7
7
  "enabled": true,
@@ -9,15 +9,6 @@
9
9
  "lineWidth": 100,
10
10
  "indentWidth": 2
11
11
  },
12
- "javascript": {
13
- "formatter": {
14
- "quoteStyle": "single",
15
- "semicolons": "asNeeded"
16
- }
17
- },
18
- "organizeImports": {
19
- "enabled": false
20
- },
21
12
  "linter": {
22
13
  "rules": {
23
14
  "style": {
@@ -29,10 +20,14 @@
29
20
  },
30
21
  "complexity": {
31
22
  "noUselessTypeConstraint": "off",
32
- "noForEach": "off"
23
+ "noForEach": "off",
24
+ "useDateNow": "off"
33
25
  },
34
26
  "correctness": {
35
- "useExhaustiveDependencies": "off"
27
+ "useExhaustiveDependencies": "off",
28
+ "useHookAtTopLevel": "off",
29
+ "noUnusedFunctionParameters": "off",
30
+ "noUnusedVariables": "off"
36
31
  },
37
32
  "suspicious": {
38
33
  "noGlobalIsNan": "off",
@@ -40,18 +35,27 @@
40
35
  "noExplicitAny": "off",
41
36
  "noArrayIndexKey": "off",
42
37
  "noConfusingVoidType": "off",
43
- "noThenProperty": "off"
38
+ "noThenProperty": "off",
39
+ "noTemplateCurlyInString": "off"
44
40
  },
45
41
  "performance": {
46
42
  "noDelete": "off",
47
- "noAccumulatingSpread": "off"
43
+ "noAccumulatingSpread": "off",
44
+ "noDynamicNamespaceImportAccess": "off"
48
45
  },
49
46
  "a11y": {
50
47
  "noAriaHiddenOnFocusable": "off",
51
48
  "noLabelWithoutControl": "off",
52
49
  "useFocusableInteractive": "off",
53
50
  "useKeyWithClickEvents": "off",
54
- "useSemanticElements": "off"
51
+ "useSemanticElements": "off",
52
+ "noStaticElementInteractions": "off",
53
+ "useAriaPropsSupportedByRole": "off",
54
+ "useAriaPropsForRole": "off",
55
+ "useValidAnchor": "off"
56
+ },
57
+ "nursery": {
58
+ "useUniqueElementIds": "off"
55
59
  }
56
60
  }
57
61
  },
@@ -60,43 +64,19 @@
60
64
  "quoteStyle": "single"
61
65
  }
62
66
  },
63
- "overrides": [
64
- {
65
- "include": ["**/*.test.ts", "**/*.test.tsx", "tests/**/*", "scripts/**/*", ".dumi/**/*"],
66
- "linter": {
67
- "rules": {
68
- "style": {
69
- "noParameterAssign": "off"
70
- },
71
- "suspicious": {
72
- "noThenProperty": "off",
73
- "noImplicitAnyLet": "off"
74
- },
75
- "complexity": {
76
- "noUselessFragments": "off"
77
- },
78
- "a11y": {
79
- "useValidAnchor": "off",
80
- "useAnchorContent": "off",
81
- "useKeyWithClickEvents": "off"
82
- }
83
- }
84
- }
85
- },
86
- {
87
- "include": ["components/*/demo/*"],
88
- "linter": {
89
- "rules": {
90
- "correctness": {
91
- "noVoidTypeReturn": "off"
92
- },
93
- "a11y": {
94
- "useValidAnchor": "off",
95
- "useAnchorContent": "off",
96
- "useKeyWithClickEvents": "off"
97
- }
98
- }
67
+ "javascript": {
68
+ "jsxRuntime": "reactClassic",
69
+ "formatter": {
70
+ "quoteStyle": "single",
71
+ "semicolons": "asNeeded"
72
+ }
73
+ },
74
+ "assist": {
75
+ "enabled": true,
76
+ "actions": {
77
+ "source": {
78
+ "organizeImports": "off"
99
79
  }
100
80
  }
101
- ]
81
+ }
102
82
  }
@@ -11,22 +11,23 @@
11
11
  "preview": "rsbuild preview"
12
12
  },
13
13
  "dependencies": {
14
- "ant-design-vue": "^4.2.6",
15
- "pinia": "^3.0.2",
16
- "vue": "^3.5.14",
14
+ "element-plus": "^2.10.6",
15
+ "pinia": "^3.0.3",
16
+ "vue": "^3.5.18",
17
17
  "vue-router": "^4.5.1"
18
18
  },
19
19
  "devDependencies": {
20
- "@biomejs/biome": "^1.9.4",
21
- "@ianvs/prettier-plugin-sort-imports": "^4.4.1",
22
- "@rsbuild/core": "^1.3.20",
23
- "@rsbuild/plugin-sass": "^1.3.1",
24
- "@rsbuild/plugin-vue": "^1.0.7",
25
- "@unocss/postcss": "^66.1.2",
26
- "lefthook": "^1.11.12",
27
- "prettier": "^3.5.3",
28
- "typescript": "^5.8.3",
29
- "unocss": "^66.1.2",
30
- "unplugin-auto-import": "^19.2.0"
20
+ "@biomejs/biome": "^2.1.4",
21
+ "@ianvs/prettier-plugin-sort-imports": "^4.6.1",
22
+ "@rsbuild/core": "^1.4.15",
23
+ "@rsbuild/plugin-sass": "^1.3.5",
24
+ "@rsbuild/plugin-vue": "^1.1.1",
25
+ "@unocss/postcss": "^66.4.2",
26
+ "lefthook": "^1.12.2",
27
+ "prettier": "^3.6.2",
28
+ "typescript": "^5.9.2",
29
+ "unocss": "^66.4.2",
30
+ "unplugin-auto-import": "^20.0.0",
31
+ "unplugin-vue-components": "^29.0.0"
31
32
  }
32
33
  }
@@ -3,6 +3,8 @@ import { pluginVue } from '@rsbuild/plugin-vue'
3
3
  import AutoImport from 'unplugin-auto-import/rspack'
4
4
  import UnoCSS from '@unocss/postcss'
5
5
  import { pluginSass } from '@rsbuild/plugin-sass'
6
+ import Components from 'unplugin-vue-components/rspack'
7
+ import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
6
8
 
7
9
  export default defineConfig({
8
10
  html: {
@@ -24,6 +26,11 @@ export default defineConfig({
24
26
  imports: ['vue', 'vue-router'],
25
27
  dts: './src/types/auto-import.d.ts',
26
28
  }),
29
+ Components({
30
+ resolvers: [ElementPlusResolver()],
31
+ dts: './src/types/components.d.ts',
32
+ }),
33
+
27
34
  ],
28
35
  },
29
36
  postcss: {
@@ -15,12 +15,14 @@ declare global {
15
15
  const effectScope: typeof import('vue')['effectScope']
16
16
  const getCurrentInstance: typeof import('vue')['getCurrentInstance']
17
17
  const getCurrentScope: typeof import('vue')['getCurrentScope']
18
+ const getCurrentWatcher: typeof import('vue')['getCurrentWatcher']
18
19
  const h: typeof import('vue')['h']
19
20
  const inject: typeof import('vue')['inject']
20
21
  const isProxy: typeof import('vue')['isProxy']
21
22
  const isReactive: typeof import('vue')['isReactive']
22
23
  const isReadonly: typeof import('vue')['isReadonly']
23
24
  const isRef: typeof import('vue')['isRef']
25
+ const isShallow: typeof import('vue')['isShallow']
24
26
  const markRaw: typeof import('vue')['markRaw']
25
27
  const nextTick: typeof import('vue')['nextTick']
26
28
  const onActivated: typeof import('vue')['onActivated']
@@ -71,23 +73,6 @@ declare global {
71
73
  // for type re-export
72
74
  declare global {
73
75
  // @ts-ignore
74
- export type {
75
- Component,
76
- Slot,
77
- Slots,
78
- ComponentPublicInstance,
79
- ComputedRef,
80
- DirectiveBinding,
81
- ExtractDefaultPropTypes,
82
- ExtractPropTypes,
83
- ExtractPublicPropTypes,
84
- InjectionKey,
85
- PropType,
86
- Ref,
87
- MaybeRef,
88
- MaybeRefOrGetter,
89
- VNode,
90
- WritableComputedRef,
91
- } from 'vue'
76
+ export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, ShallowRef, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
92
77
  import('vue')
93
78
  }
@@ -0,0 +1,15 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ // Generated by unplugin-vue-components
4
+ // Read more: https://github.com/vuejs/core/pull/3399
5
+ // biome-ignore lint: disable
6
+ export {}
7
+
8
+ /* prettier-ignore */
9
+ declare module 'vue' {
10
+ export interface GlobalComponents {
11
+ ElButton: typeof import('element-plus/es')['ElButton']
12
+ RouterLink: typeof import('vue-router')['RouterLink']
13
+ RouterView: typeof import('vue-router')['RouterView']
14
+ }
15
+ }
@@ -1,4 +1,4 @@
1
- import { message } from 'ant-design-vue'
1
+ import { message } from 'element-plus'
2
2
  import axios, { type AxiosResponse } from 'axios'
3
3
 
4
4
  import { router } from '@/router'
@@ -5,7 +5,10 @@ const a = ref(1)
5
5
  </script>
6
6
 
7
7
  <template>
8
- <div class="index-container text-red">111</div>
8
+ <div class="index-container text-red">
9
+ 111
10
+ <el-button>111</el-button>
11
+ </div>
9
12
  </template>
10
13
 
11
14
  <style lang="scss" scoped></style>