├── .npmrc
├── .github
├── FUNDING.yml
├── ISSUE_TEMPLATE
│ ├── config.yml
│ ├── feature_request.yml
│ └── bug_report.yml
├── workflows
│ ├── github-label-sync.yml
│ ├── release.yml
│ └── ci.yml
├── PULL_REQUEST_TEMPLATE.md
├── release.yml
└── labels.yml
├── .gitattributes
├── pnpm-workspace.yaml
├── .eslintignore
├── .githooks
└── pre-commit
├── .prettierignore
├── playground
├── vue3
│ ├── env.d.ts
│ ├── public
│ │ └── favicon.ico
│ ├── README.md
│ ├── tsconfig.config.json
│ ├── vitest.config.ts
│ ├── src
│ │ ├── i18n.ts
│ │ ├── assets
│ │ │ ├── logo.svg
│ │ │ ├── main.css
│ │ │ └── base.css
│ │ ├── components
│ │ │ ├── icons
│ │ │ │ ├── IconSupport.vue
│ │ │ │ ├── IconTooling.vue
│ │ │ │ ├── IconCommunity.vue
│ │ │ │ ├── IconDocumentation.vue
│ │ │ │ └── IconEcosystem.vue
│ │ │ ├── HelloWorld.vue
│ │ │ ├── WelcomeItem.vue
│ │ │ └── TheWelcome.vue
│ │ ├── locales
│ │ │ ├── schema.d.ts
│ │ │ ├── ja.json
│ │ │ └── en.json
│ │ ├── main.ts
│ │ ├── views
│ │ │ ├── AboutView.vue
│ │ │ └── HomeView.vue
│ │ ├── router
│ │ │ └── index.ts
│ │ └── App.vue
│ ├── tsconfig.json
│ ├── index.html
│ ├── vite.config.ts
│ ├── package.json
│ └── specs
│ │ └── app.spec.ts
├── vue3-options
│ ├── env.d.ts
│ ├── README.md
│ ├── public
│ │ └── favicon.ico
│ ├── tsconfig.config.json
│ ├── vitest.config.ts
│ ├── src
│ │ ├── i18n.ts
│ │ ├── assets
│ │ │ ├── logo.svg
│ │ │ ├── main.css
│ │ │ └── base.css
│ │ ├── components
│ │ │ ├── icons
│ │ │ │ ├── IconSupport.vue
│ │ │ │ ├── IconTooling.vue
│ │ │ │ ├── IconCommunity.vue
│ │ │ │ ├── IconDocumentation.vue
│ │ │ │ └── IconEcosystem.vue
│ │ │ ├── HelloWorld.vue
│ │ │ └── WelcomeItem.vue
│ │ ├── locales
│ │ │ ├── schema.d.ts
│ │ │ ├── ja.json
│ │ │ └── en.json
│ │ ├── main.ts
│ │ ├── views
│ │ │ ├── HomeView.vue
│ │ │ └── AboutView.vue
│ │ ├── router
│ │ │ └── index.ts
│ │ └── App.vue
│ ├── index.html
│ ├── tsconfig.json
│ ├── vite.config.ts
│ ├── package.json
│ └── specs
│ │ └── app.spec.ts
├── vue2
│ ├── public
│ │ └── favicon.ico
│ ├── README.md
│ ├── vitest.config.ts
│ ├── src
│ │ ├── assets
│ │ │ ├── logo.svg
│ │ │ ├── main.css
│ │ │ └── base.css
│ │ ├── components
│ │ │ ├── icons
│ │ │ │ ├── IconSupport.vue
│ │ │ │ ├── IconTooling.vue
│ │ │ │ ├── IconCommunity.vue
│ │ │ │ ├── IconDocumentation.vue
│ │ │ │ └── IconEcosystem.vue
│ │ │ ├── HelloWorld.vue
│ │ │ ├── WelcomeItem.vue
│ │ │ └── TheWelcome.vue
│ │ ├── locales
│ │ │ ├── schema.d.ts
│ │ │ ├── ja.json
│ │ │ └── en.json
│ │ ├── i18n.ts
│ │ ├── main.ts
│ │ ├── views
│ │ │ ├── AboutView.vue
│ │ │ └── HomeView.vue
│ │ ├── router
│ │ │ └── index.ts
│ │ └── App.vue
│ ├── env.d.ts
│ ├── index.html
│ ├── vite.config.ts
│ ├── tsconfig.json
│ ├── package.json
│ └── specs
│ │ └── app.spec.ts
└── vue2-options
│ ├── README.md
│ ├── public
│ └── favicon.ico
│ ├── vitest.config.ts
│ ├── src
│ ├── assets
│ │ ├── logo.svg
│ │ ├── main.css
│ │ └── base.css
│ ├── views
│ │ ├── AboutView.vue
│ │ └── HomeView.vue
│ ├── components
│ │ ├── icons
│ │ │ ├── IconSupport.vue
│ │ │ ├── IconTooling.vue
│ │ │ ├── IconCommunity.vue
│ │ │ ├── IconDocumentation.vue
│ │ │ └── IconEcosystem.vue
│ │ ├── HelloWorld.vue
│ │ └── WelcomeItem.vue
│ ├── locales
│ │ ├── schema.d.ts
│ │ ├── ja.json
│ │ └── en.json
│ ├── i18n.ts
│ ├── main.ts
│ ├── router
│ │ └── index.ts
│ └── App.vue
│ ├── index.html
│ ├── env.d.ts
│ ├── vite.config.ts
│ ├── tsconfig.json
│ ├── package.json
│ └── specs
│ └── app.spec.ts
├── packages
└── vue-i18n-routing
│ ├── index.mjs
│ ├── src
│ ├── extends
│ │ ├── index.ts
│ │ ├── __test__
│ │ │ ├── router.test.vue2.ts
│ │ │ ├── i18n.test.vue2.ts
│ │ │ └── router.test.ts
│ │ ├── vue-router.d.ts
│ │ └── vue-i18n.d.ts
│ ├── composables
│ │ ├── index.ts
│ │ ├── __test__
│ │ │ ├── __snapshots__
│ │ │ │ └── head.test.ts.snap
│ │ │ └── head.test.ts
│ │ └── head.ts
│ ├── compatibles
│ │ ├── index.ts
│ │ ├── types.ts
│ │ └── utils.ts
│ ├── global.d.ts
│ ├── constants.ts
│ ├── index.ts
│ ├── vue-i18n.d.ts
│ ├── vue.d.ts
│ └── __test__
│ │ └── __snapshots__
│ │ └── resolve.test.ts.snap
│ ├── types.d.ts
│ ├── CHANGELOG.md
│ ├── docsgen.config.js
│ ├── README.md
│ ├── vitest.config.ts
│ ├── tsconfig.json
│ ├── LICENSE
│ ├── scripts
│ └── vitest.ts
│ ├── vite.config.ts
│ └── package.json
├── .npmignore
├── scripts
├── bump.sh
├── preinstall.mjs
├── build.sh
├── e2e.sh
├── release.sh
├── release-edge.sh
├── replaceDeps.ts
└── bump.ts
├── .secretlintrc.json
├── .prettierrc
├── .editorconfig
├── renovate.json
├── .vscode
└── settings.json
├── .gitignore
├── README.md
├── LICENSE
├── .eslintrc-i18n.cjs
├── .eslintrc.cjs
├── CODE_OF_CONDUCT.md
└── CONTRIBUTING.md
/.npmrc:
--------------------------------------------------------------------------------
1 | strict-peer-dependencies=false
--------------------------------------------------------------------------------
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | github: kazupon
2 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.json linguist-language=JSON-with-Comments
--------------------------------------------------------------------------------
/pnpm-workspace.yaml:
--------------------------------------------------------------------------------
1 | packages:
2 | - 'packages/*'
3 |
--------------------------------------------------------------------------------
/.eslintignore:
--------------------------------------------------------------------------------
1 | dist
2 | dist_ssr
3 | docsgen.config.js
4 | .nyc_output
--------------------------------------------------------------------------------
/.githooks/pre-commit:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | npx --no-install lint-staged
3 |
--------------------------------------------------------------------------------
/.prettierignore:
--------------------------------------------------------------------------------
1 | dist
2 | dist-ssr
3 | coverage
4 | tsconfig.json
5 |
--------------------------------------------------------------------------------
/playground/vue3/env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/playground/vue3-options/env.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/packages/vue-i18n-routing/index.mjs:
--------------------------------------------------------------------------------
1 | export * from './dist/vue-i18n-routing.js'
2 |
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 | .*
2 | *.log
3 | *.swp
4 | coverage
5 | test
6 | temp
7 | scripts
8 | .nyc_output
--------------------------------------------------------------------------------
/packages/vue-i18n-routing/src/extends/index.ts:
--------------------------------------------------------------------------------
1 | export * from './router'
2 | export * from './i18n'
3 |
--------------------------------------------------------------------------------
/packages/vue-i18n-routing/src/composables/index.ts:
--------------------------------------------------------------------------------
1 | export * from './routing'
2 | export * from './head'
3 |
--------------------------------------------------------------------------------
/scripts/bump.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -xe
4 |
5 | # Bump versions
6 | npx jiti ./scripts/bump.ts
7 |
--------------------------------------------------------------------------------
/playground/vue2/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intlify/routing/HEAD/playground/vue2/public/favicon.ico
--------------------------------------------------------------------------------
/playground/vue3/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intlify/routing/HEAD/playground/vue3/public/favicon.ico
--------------------------------------------------------------------------------
/packages/vue-i18n-routing/types.d.ts:
--------------------------------------------------------------------------------
1 | export * from './dist/vue-i18n-routing'
2 | import './dist/vue'
3 | import './dist/vue-i18n'
4 |
--------------------------------------------------------------------------------
/.secretlintrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "rules": [
3 | {
4 | "id": "@secretlint/secretlint-rule-preset-recommend"
5 | }
6 | ]
7 | }
8 |
--------------------------------------------------------------------------------
/packages/vue-i18n-routing/src/compatibles/index.ts:
--------------------------------------------------------------------------------
1 | export * from './routing'
2 | export * from './head'
3 | export * from './types'
4 |
--------------------------------------------------------------------------------
/playground/vue2-options/README.md:
--------------------------------------------------------------------------------
1 | # playground-vue2-options
2 |
3 | This example is vue-i18n-routing for Vue 2 + Options API + Vite
4 |
--------------------------------------------------------------------------------
/playground/vue2-options/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intlify/routing/HEAD/playground/vue2-options/public/favicon.ico
--------------------------------------------------------------------------------
/playground/vue3-options/README.md:
--------------------------------------------------------------------------------
1 | # playground-vue3-options
2 |
3 | This example is vue-i18n-routing for Vue 3 + Options API + Vite
4 |
--------------------------------------------------------------------------------
/playground/vue3-options/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/intlify/routing/HEAD/playground/vue3-options/public/favicon.ico
--------------------------------------------------------------------------------
/.prettierrc:
--------------------------------------------------------------------------------
1 | semi: false
2 | singleQuote: true
3 | printWidth: 120
4 | trailingComma: "none"
5 | endOfLine: "auto"
6 | arrowParens: "avoid"
7 |
--------------------------------------------------------------------------------
/playground/vue2/README.md:
--------------------------------------------------------------------------------
1 | # playground-vue2
2 |
3 | This example is vue-i18n-routing for Vue 2 + Composition API (included `
12 |