diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 4b5ec17..442f6bb 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -5,7 +5,7 @@ export default defineConfig({ title: "Vue next i18n", base: '/vue-next-i18n/', description: "Lightweight internationalization plugin for Vue 3", - lang : 'en', + lang: 'en', locales: { root: { label: 'English', @@ -16,7 +16,7 @@ export default defineConfig({ logo: '/logo.svg', nav: [ { text: 'Home', link: '/' }, - { text: 'Guide', link: '/en/guide/'} + { text: 'Guide', link: '/guide/' } ], sidebar: [ { diff --git a/docs/en/index.md b/docs/en/index.md deleted file mode 100644 index d0622e7..0000000 --- a/docs/en/index.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -# https://vitepress.dev/reference/default-theme-home-page -layout: home - -hero: - name: "Vue next i18n" - text: "Lightweight i18n plugin for Vue.js 3" - tagline: Easy, Powerful, Lightweight - image: - src: /logo.svg - alt: vue-next-i18n logo - actions: - - theme: brand - text: Get Started - link: /en/guide/ - - theme: alt - text: View on GitHub - link: https://github.com/aaronlamz/vue-next-i18n - -features: - - title: Easy - details: You can introduce internationalization into your app with simple API - - title: Powerful - details: Support for array, function, regexp parameters - - title: Lightweight - details: Gzip size 1kb ---- - diff --git a/docs/en/guide/index.md b/docs/guide/index.md similarity index 100% rename from docs/en/guide/index.md rename to docs/guide/index.md diff --git a/docs/index.md b/docs/index.md index d0622e7..124995f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -12,7 +12,7 @@ hero: actions: - theme: brand text: Get Started - link: /en/guide/ + link: /guide/ - theme: alt text: View on GitHub link: https://github.com/aaronlamz/vue-next-i18n