Skip to content

Commit 5870bef

Browse files
committed
chore: wip
1 parent 7c14c72 commit 5870bef

File tree

2 files changed

+4
-21
lines changed

2 files changed

+4
-21
lines changed

resources/views/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const { t } = useI18n()
4343
<div class="bg-white h-full flex flex-col items-center justify-center">
4444
<div class="border-2 border-gray-100 p-4 rounded">
4545
<h1 class="text-gray-900 text-7xl tracking-tight uppercase font-semibold">
46-
Danyel Group
46+
Stacks
4747
</h1>
4848
</div>
4949

storage/framework/.stacks/core/vite/src/views.ts

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import { config } from '@stacksjs/config'
88
// @ts-expect-error missing types
99
import Layouts from 'vite-plugin-vue-layouts'
1010
import Components from 'unplugin-vue-components/vite'
11-
import AutoImport from 'unplugin-auto-import/vite'
11+
import { autoImports } from './plugin/auto-imports'
12+
// import AutoImport from 'unplugin-auto-import/vite'
1213
import Markdown from 'unplugin-vue-markdown/vite'
1314
import VueMacros from 'unplugin-vue-macros/vite'
1415
import VueI18n from '@intlify/unplugin-vue-i18n/vite'
@@ -108,25 +109,7 @@ export default defineConfig({
108109
}),
109110

110111
// https://github.com/antfu/unplugin-auto-import
111-
AutoImport({
112-
imports: [
113-
'vue',
114-
'vue-i18n',
115-
'@vueuse/head',
116-
'@vueuse/core',
117-
VueRouterAutoImports,
118-
{
119-
// add any other imports you were relying on
120-
'vue-router/auto': ['useLink'],
121-
},
122-
],
123-
dts: p.frameworkStoragePath('types/auto-imports.d.ts'),
124-
dirs: [
125-
p.resourcesPath('functions'),
126-
p.resourcesPath('stores'),
127-
],
128-
vueTemplate: true,
129-
}),
112+
autoImports(),
130113

131114
// https://github.com/antfu/unplugin-vue-components
132115
Components({

0 commit comments

Comments
 (0)