File tree Expand file tree Collapse file tree 3 files changed +36
-11
lines changed
storage/framework/.stacks/core/vite/src Expand file tree Collapse file tree 3 files changed +36
-11
lines changed Original file line number Diff line number Diff line change 10
10
dynamic-route : Demo of dynamic route
11
11
hi : Hi, {name}!
12
12
aka : Also known as
13
- whats-your-name : What's your name?
13
+ whats-your-name : " What's your name?"
14
14
not-found : Not found
Original file line number Diff line number Diff line change @@ -40,15 +40,37 @@ const { t } = useI18n()
40
40
</script >
41
41
42
42
<template >
43
- <div class =" bg-white h-full flex flex-col items-center justify-center" >
44
- <div class =" border-2 border-gray-100 p-4 rounded" >
45
- <h1 class =" text-gray-900 text-7xl tracking-tight uppercase font-semibold" >
46
- Stacks
47
- </h1 >
43
+ <div >
44
+ <div class =" text-4xl" >
45
+ <div class =" i-carbon-campsite inline-block" />
48
46
</div >
47
+ <p >
48
+ <a rel =" noreferrer" href =" https://github.com/stacksjs/stacks" target =" _blank" >
49
+ Stacks
50
+ </a >
51
+ </p >
52
+ <p >
53
+ <em class =" text-sm opacity-75" >{{ t('intro.desc') }}</em >
54
+ </p >
55
+
56
+ <div class =" py-4" />
49
57
50
- <h2 class =" text-gray-700 text-2xl pt-6 tracking-tighter" >
51
- Coming soon, 2024 — in a fresh paint.
52
- </h2 >
58
+ <TheInput
59
+ v-model =" name"
60
+ :placeholder =" t('intro.whats-your-name')"
61
+ autocomplete =" false"
62
+ @keydown.enter =" go"
63
+ />
64
+ <label class =" hidden" for =" input" >{{ t('intro.whats-your-name') }}</label >
65
+
66
+ <div >
67
+ <button
68
+ class =" m-3 text-sm btn"
69
+ :disabled =" !name"
70
+ @click =" go"
71
+ >
72
+ {{ t('button.go') }}
73
+ </button >
74
+ </div >
53
75
</div >
54
76
</template >
Original file line number Diff line number Diff line change @@ -10,10 +10,12 @@ import Layouts from 'vite-plugin-vue-layouts'
10
10
import { autoImports } from './plugin/auto-imports'
11
11
import { components } from './plugin/components'
12
12
import { layouts } from './plugin/layouts'
13
+ import { fonts } from './plugin/fonts'
14
+ // import { i18n } from './plugin/i18n'
15
+ import VueI18n from '@intlify/unplugin-vue-i18n/vite'
13
16
// import AutoImport from 'unplugin-auto-import/vite'
14
17
import Markdown from 'unplugin-vue-markdown/vite'
15
18
import VueMacros from 'unplugin-vue-macros/vite'
16
- import VueI18n from '@intlify/unplugin-vue-i18n/vite'
17
19
import { VitePWA } from 'vite-plugin-pwa'
18
20
import VueDevTools from 'vite-plugin-vue-devtools'
19
21
import LinkAttributes from 'markdown-it-link-attributes'
@@ -167,6 +169,7 @@ export default defineConfig({
167
169
} ) ,
168
170
169
171
// https://github.com/intlify/bundle-tools/tree/main/packages/unplugin-vue-i18n
172
+ // i18n(),
170
173
VueI18n ( {
171
174
runtimeOnly : true ,
172
175
compositionOnly : true ,
@@ -177,7 +180,7 @@ export default defineConfig({
177
180
} ) ,
178
181
179
182
// https://github.com/feat-agency/vite-plugin-webfont-dl
180
- WebfontDownload ( ) ,
183
+ fonts ( ) ,
181
184
182
185
// https://github.com/webfansplz/vite-plugin-vue-devtools
183
186
VueDevTools ( ) ,
You can’t perform that action at this time.
0 commit comments