Skip to content

Commit 4f2642a

Browse files
committed
Revert "updates"
This reverts commit a9c57ef.
1 parent a9c57ef commit 4f2642a

File tree

8 files changed

+224
-259
lines changed

8 files changed

+224
-259
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ dist-ssr
55
*.log
66
*.swp
77
*~
8-
*.local
8+
*.local
9+
.vscode

.vitepress/config.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,14 @@ const config = {
6767
logo: '/sponsors/nuxt.png'
6868
}
6969
],
70-
sliver: [],
70+
sliver: [
71+
{
72+
title: 'BabelEdit',
73+
link:
74+
'https://www.codeandweb.com/babeledit?utm_campaign=vue-i18n-2019-01',
75+
logo: '/sponsors/babeledit.png'
76+
}
77+
],
7178
bronze: [
7279
{
7380
title: 'ZenArchitects',

.vitepress/theme/Layout.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,14 @@ ja:
5151
<div class="inner">
5252
<h2>{{ t('SponsorTitle') }}</h2>
5353
<Sponsor
54-
v-if="$site.customData.sponsors.gold.length"
5554
:banners="$site.customData.sponsors.gold"
5655
tier="gold"
5756
/>
5857
<Sponsor
59-
v-if="$site.customData.sponsors.sliver.length"
6058
:banners="$site.customData.sponsors.sliver"
6159
tier="silver"
6260
/>
6361
<Sponsor
64-
v-if="$site.customData.sponsors.bronze.length"
6562
:banners="$site.customData.sponsors.bronze"
6663
tier="bronze"
6764
/>

.vitepress/theme/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import './style.css'
33
import Layout from './Layout.vue'
44
import { watch } from 'vue'
55
import { createI18n } from 'vue-i18n'
6-
// TODO: SSR
7-
// import messages from '@intlify/vite-plugin-vue-i18n/messages'
6+
import messages from '@intlify/vite-plugin-vue-i18n/messages'
87

98
export default {
109
Layout,
@@ -14,7 +13,7 @@ export default {
1413
legacy: false,
1514
locale: siteData.value.lang,
1615
globalInjection: true,
17-
messages: {}
16+
messages
1817
})
1918
app.use(i18n)
2019

.vscode/settings.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@
77
"email": "[email protected]"
88
},
99
"devDependencies": {
10-
"@intlify/eslint-plugin-vue-i18n": "^0.11.1",
10+
"@intlify/eslint-plugin-vue-i18n": "^0.10.0",
1111
"@intlify/vite-plugin-vue-i18n": "^1.0.0-beta.16",
1212
"@tailwindcss/typography": "^0.3.1",
13-
"@typescript-eslint/eslint-plugin": "^4.21.0",
14-
"@typescript-eslint/parser": "^4.21.0",
13+
"@typescript-eslint/eslint-plugin": "^4.11.0",
14+
"@typescript-eslint/parser": "^4.11.0",
1515
"@vuedx/typecheck": "^0.4.1",
1616
"@vuedx/typescript-plugin-vue": "^0.4.1",
1717
"autoprefixer": "^10.2.1",
18-
"eslint": "^7.23.0",
18+
"eslint": "^7.18.0",
1919
"eslint-config-prettier": "^7.0.0",
20-
"eslint-plugin-vue": "^7.8.0",
20+
"eslint-plugin-vue": "^7.5.0",
2121
"eslint-plugin-vue-libs": "^4.0.0",
2222
"npm-run-all": "^4.1.5",
2323
"postcss": "^8.2.4",
2424
"prettier": "^2.2.1",
2525
"tailwindcss": "^2.0.2",
26-
"typescript": "^4.2.3",
26+
"typescript": "^4.1.3",
2727
"typescript-eslint-language-service": "^4.1.3",
28-
"vitepress": "^0.13.0"
28+
"vitepress": "^0.12.0"
2929
},
3030
"license": "MIT",
3131
"private": true,
@@ -43,6 +43,6 @@
4343
"serve": "vitepress serve"
4444
},
4545
"dependencies": {
46-
"vue-i18n": "^9.1.2"
46+
"vue-i18n": "^9.0.0-rc.6"
4747
}
4848
}

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
5252
// "typeRoots": [], /* List of folders to include type definitions from. */
5353
// "types": [], /* Type declaration files to be included in compilation. */
54-
"types": ["@intlify/vite-plugin-vue-i18n/client"],
5554
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
5655
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
5756
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */

0 commit comments

Comments
 (0)