Port almost complete

I18n will not be completed as part of port.
Just Metadata left to do!
This commit is contained in:
Louis Hollingworth 2022-05-22 17:35:47 +01:00
parent 9edc8b71f7
commit a8d464a63c
No known key found for this signature in database
GPG key ID: 1E66DEA3F5D623D1
6 changed files with 358 additions and 19 deletions

Binary file not shown.

View file

@ -2,14 +2,15 @@
<a v-if="isExternal" target="_blank" rel="nofollow noreferrer" class="card" :href="to">
<p>{{ title }} </p>
</a>
<router-link v-else v-bind="$props" class="card">
<NuxtLink v-else v-bind="$props" class="card">
<p>{{ title }} </p>
</router-link>
</NuxtLink>
</template>
<script>
import { RouterLink } from 'vue-router';
export default {
props: {
title: {

View file

@ -2,7 +2,11 @@ import { defineNuxtConfig } from 'nuxt';
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
css: [
'@/assets/styles/globals.scss'
]
css: ['@/assets/styles/globals.scss'],
buildModules: ['@intlify/nuxt3'],
intlify: {
vueI18n: {
availableLocales: ['en', 'eo'],
}
}
});

View file

@ -7,6 +7,7 @@
"preview": "nuxt preview"
},
"devDependencies": {
"@intlify/nuxt3": "^0.2.2",
"@nuxt/postcss8": "^1.1.3",
"@nuxt/types": "^2.15.8",
"nuxt": "3.0.0-rc.1",

View file

@ -25,7 +25,7 @@ import '@/assets/styles/index.scss';
to="https://www.talkable.com/x/IchxFl"
/>
<LinkCard
title="Matrix"
title="Matrix"
to="https://matrix.to/#/#young-royals:matrix.org"
/>
<LinkCard title="Discord Utilities" to="/utilities" />

359
yarn.lock
View file

@ -366,6 +366,79 @@ __metadata:
languageName: node
linkType: hard
"@intlify/bundle-utils@npm:next":
version: 3.1.0
resolution: "@intlify/bundle-utils@npm:3.1.0"
dependencies:
"@intlify/message-compiler": next
"@intlify/shared": next
jsonc-eslint-parser: ^1.0.1
source-map: 0.6.1
yaml-eslint-parser: ^0.3.2
peerDependenciesMeta:
petite-vue-i18n:
optional: true
vue-i18n:
optional: true
checksum: 708f071736e5ae2f55929b9561b5488c4bb087a46e7e75208e181ef3e6fea66c283a2cd47027df7bb2b2d7dbcc9792bdbe9bd94753400b8f18ea86c057f2bdd2
languageName: node
linkType: hard
"@intlify/core-base@npm:9.2.0-beta.35":
version: 9.2.0-beta.35
resolution: "@intlify/core-base@npm:9.2.0-beta.35"
dependencies:
"@intlify/devtools-if": 9.2.0-beta.35
"@intlify/message-compiler": 9.2.0-beta.35
"@intlify/shared": 9.2.0-beta.35
"@intlify/vue-devtools": 9.2.0-beta.35
checksum: 555d4681eb1d34ddee14736032b064e288472839d3f5a57b4dd30d03195f9257f85ebdaba8b6c9e61f5609b7aefaab710a93c16f7f8465d7e177bebdfdbc6805
languageName: node
linkType: hard
"@intlify/devtools-if@npm:9.2.0-beta.35":
version: 9.2.0-beta.35
resolution: "@intlify/devtools-if@npm:9.2.0-beta.35"
dependencies:
"@intlify/shared": 9.2.0-beta.35
checksum: aa04ef5d88b515f861e40a70158e7cf8c4c5865bc7091d326dd8805eeb33216a35bb0beb8ff8c9f53d186f5871c4ad1c2f14894af3ff3c5d51a77a7e2ccfcaec
languageName: node
linkType: hard
"@intlify/message-compiler@npm:9.2.0-beta.35, @intlify/message-compiler@npm:next":
version: 9.2.0-beta.35
resolution: "@intlify/message-compiler@npm:9.2.0-beta.35"
dependencies:
"@intlify/shared": 9.2.0-beta.35
source-map: 0.6.1
checksum: ce496cde555cb1c47d869abae6e109777f624b604db42309a8917738a59feec9d5aac774482157783eb91c4112597e19989d4ec2b3e9c2089a2c2d940ba3a9a7
languageName: node
linkType: hard
"@intlify/nuxt3@npm:^0.2.2":
version: 0.2.2
resolution: "@intlify/nuxt3@npm:0.2.2"
dependencies:
"@intlify/shared": beta
"@intlify/vite-plugin-vue-i18n": next
"@intlify/vue-i18n-loader": next
"@nuxt/kit": latest
debug: ^4.3.2
pathe: ^0.2.0
ufo: ^0.8.3
unplugin: ^0.6.2
vue-i18n: beta
checksum: 5de65ba4b30f0c3460d2adcae3554f232fd7d192eb28e9388fb44956268b259ba9c58891f9420145d6d5b8c5d02bace6dfe22acccb17269a4aa106c41ce3b8a8
languageName: node
linkType: hard
"@intlify/shared@npm:9.2.0-beta.35, @intlify/shared@npm:beta, @intlify/shared@npm:next":
version: 9.2.0-beta.35
resolution: "@intlify/shared@npm:9.2.0-beta.35"
checksum: 10e05c54265360b8ff5e9d0cdcd95fa6ec7313d37ec73b248a4a0955fcceca1e9ba3bc654bffb950804a874538dfa767a8952c395471e59a99bb68a622ab755a
languageName: node
linkType: hard
"@intlify/shared@npm:^9.0.0":
version: 9.1.9
resolution: "@intlify/shared@npm:9.1.9"
@ -373,6 +446,39 @@ __metadata:
languageName: node
linkType: hard
"@intlify/vite-plugin-vue-i18n@npm:next":
version: 4.0.0
resolution: "@intlify/vite-plugin-vue-i18n@npm:4.0.0"
dependencies:
"@intlify/bundle-utils": next
"@intlify/shared": next
"@rollup/pluginutils": ^4.1.0
debug: ^4.3.1
fast-glob: ^3.2.5
source-map: 0.6.1
peerDependencies:
petite-vue-i18n: "*"
vite: ^2.9.0
vue-i18n: "*"
peerDependenciesMeta:
petite-vue-i18n:
optional: true
vue-i18n:
optional: true
checksum: 365323ab60d2ea5ea8f945df88f17afb137b15b63069665ab6185ef3b29969e8b15f1e9225859d627a48153137d45a2e89e8fa673508751e39229a7bb10f3559
languageName: node
linkType: hard
"@intlify/vue-devtools@npm:9.2.0-beta.35":
version: 9.2.0-beta.35
resolution: "@intlify/vue-devtools@npm:9.2.0-beta.35"
dependencies:
"@intlify/core-base": 9.2.0-beta.35
"@intlify/shared": 9.2.0-beta.35
checksum: 8ef151cd4b91404c23629c2b222758dbcadf5fdeb72340ad3f4d52802fd8283f1d0455e5cbe794712dead62e3e3f947795505cb3a20e94376e677d0080623542
languageName: node
linkType: hard
"@intlify/vue-i18n-extensions@npm:^1.0.2":
version: 1.0.2
resolution: "@intlify/vue-i18n-extensions@npm:1.0.2"
@ -393,6 +499,28 @@ __metadata:
languageName: node
linkType: hard
"@intlify/vue-i18n-loader@npm:next":
version: 5.0.0
resolution: "@intlify/vue-i18n-loader@npm:5.0.0"
dependencies:
"@intlify/bundle-utils": next
"@intlify/shared": next
js-yaml: ^4.1.0
json5: ^2.2.0
loader-utils: ^2.0.0
peerDependencies:
petite-vue-i18n: "*"
vue: ^3.0.0
vue-i18n: "*"
peerDependenciesMeta:
petite-vue-i18n:
optional: true
vue-i18n:
optional: true
checksum: 3990f498579d9691283a64a448390e762ca990cec906200591aa286ff7f9cbc5d1dde6a282009f36cb422d48d5dcab5cf1f3dee7f9d80ced7a637e4e45978386
languageName: node
linkType: hard
"@jridgewell/resolve-uri@npm:^3.0.3":
version: 3.0.6
resolution: "@jridgewell/resolve-uri@npm:3.0.6"
@ -525,6 +653,32 @@ __metadata:
languageName: node
linkType: hard
"@nuxt/kit@npm:latest":
version: 3.0.0-rc.3
resolution: "@nuxt/kit@npm:3.0.0-rc.3"
dependencies:
"@nuxt/schema": ^3.0.0-rc.3
c12: ^0.2.7
consola: ^2.15.3
defu: ^6.0.0
globby: ^13.1.1
hash-sum: ^2.0.0
ignore: ^5.2.0
jiti: ^1.13.0
knitwork: ^0.1.1
lodash.template: ^4.5.0
mlly: ^0.5.2
pathe: ^0.3.0
pkg-types: ^0.3.2
scule: ^0.2.1
semver: ^7.3.7
unctx: ^1.1.4
unimport: ^0.1.9
untyped: ^0.4.4
checksum: 523249e8f5fbf14344907171d15326ad00b53a32641b26a7cf07dcf88409676d44ea056a864f8653f4ad0de6a0fb95facc6afc0958e455de9814abd3f60603a0
languageName: node
linkType: hard
"@nuxt/postcss8@npm:^1.1.3":
version: 1.1.3
resolution: "@nuxt/postcss8@npm:1.1.3"
@ -559,6 +713,24 @@ __metadata:
languageName: node
linkType: hard
"@nuxt/schema@npm:^3.0.0-rc.3":
version: 3.0.0-rc.3
resolution: "@nuxt/schema@npm:3.0.0-rc.3"
dependencies:
c12: ^0.2.7
create-require: ^1.1.1
defu: ^6.0.0
jiti: ^1.13.0
pathe: ^0.3.0
postcss-import-resolver: ^2.0.0
scule: ^0.2.1
std-env: ^3.1.1
ufo: ^0.8.4
unimport: ^0.1.9
checksum: f353585c1767190ef268a9dcf0dc0cbd8d23dd425561af638f2b53ba64ec63b305b98a10f7ecb68121a92283b6eda17f0144ce056a0fe364f51423f32d18d994
languageName: node
linkType: hard
"@nuxt/telemetry@npm:^2.1.2":
version: 2.1.3
resolution: "@nuxt/telemetry@npm:2.1.3"
@ -792,7 +964,7 @@ __metadata:
languageName: node
linkType: hard
"@rollup/pluginutils@npm:^4.2.0, @rollup/pluginutils@npm:^4.2.1":
"@rollup/pluginutils@npm:^4.1.0, @rollup/pluginutils@npm:^4.2.0, @rollup/pluginutils@npm:^4.2.1":
version: 4.2.1
resolution: "@rollup/pluginutils@npm:4.2.1"
dependencies:
@ -1376,7 +1548,7 @@ __metadata:
languageName: node
linkType: hard
"@vue/devtools-api@npm:^6.0.0":
"@vue/devtools-api@npm:^6.0.0, @vue/devtools-api@npm:^6.0.0-beta.13":
version: 6.1.4
resolution: "@vue/devtools-api@npm:6.1.4"
checksum: 027bb138b03ec7147dd15e5d0ef28d5b72c822530396cc8a86bc6fdb049dc6850314b9e897e497064e3ed47fad229a18141f56b8b8ca3d41092a576dc5b6538d
@ -1461,6 +1633,15 @@ __metadata:
languageName: node
linkType: hard
"acorn-jsx@npm:^5.2.0":
version: 5.3.2
resolution: "acorn-jsx@npm:5.3.2"
peerDependencies:
acorn: ^6.0.0 || ^7.0.0 || ^8.0.0
checksum: c3d3b2a89c9a056b205b69530a37b972b404ee46ec8e5b341666f9513d3163e2a4f214a71f4dfc7370f5a9c07472d2fd1c11c91c3f03d093e37637d95da98950
languageName: node
linkType: hard
"acorn-node@npm:^1.6.1":
version: 1.8.2
resolution: "acorn-node@npm:1.8.2"
@ -1479,7 +1660,7 @@ __metadata:
languageName: node
linkType: hard
"acorn@npm:^7.0.0":
"acorn@npm:^7.0.0, acorn@npm:^7.1.1, acorn@npm:^7.4.1":
version: 7.4.1
resolution: "acorn@npm:7.4.1"
bin:
@ -1715,6 +1896,13 @@ __metadata:
languageName: node
linkType: hard
"argparse@npm:^2.0.1":
version: 2.0.1
resolution: "argparse@npm:2.0.1"
checksum: 83644b56493e89a254bae05702abf3a1101b4fa4d0ca31df1c9985275a5a5bd47b3c27b7fa0b71098d41114d8ca000e6ed90cad764b306f8a503665e4d517ced
languageName: node
linkType: hard
"astral-regex@npm:^2.0.0":
version: 2.0.0
resolution: "astral-regex@npm:2.0.0"
@ -2573,6 +2761,18 @@ __metadata:
languageName: node
linkType: hard
"debug@npm:^4.3.2":
version: 4.3.4
resolution: "debug@npm:4.3.4"
dependencies:
ms: 2.1.2
peerDependenciesMeta:
supports-color:
optional: true
checksum: 3dbad3f94ea64f34431a9cbf0bafb61853eda57bff2880036153438f50fb5a84f27683ba0d8e5426bf41a8c6ff03879488120cf5b3a761e77953169c0600a708
languageName: node
linkType: hard
"decode-uri-component@npm:^0.2.0":
version: 0.2.0
resolution: "decode-uri-component@npm:0.2.0"
@ -3191,6 +3391,33 @@ __metadata:
languageName: node
linkType: hard
"eslint-utils@npm:^2.1.0":
version: 2.1.0
resolution: "eslint-utils@npm:2.1.0"
dependencies:
eslint-visitor-keys: ^1.1.0
checksum: 27500938f348da42100d9e6ad03ae29b3de19ba757ae1a7f4a087bdcf83ac60949bbb54286492ca61fac1f5f3ac8692dd21537ce6214240bf95ad0122f24d71d
languageName: node
linkType: hard
"eslint-visitor-keys@npm:^1.1.0, eslint-visitor-keys@npm:^1.3.0":
version: 1.3.0
resolution: "eslint-visitor-keys@npm:1.3.0"
checksum: 37a19b712f42f4c9027e8ba98c2b06031c17e0c0a4c696cd429bd9ee04eb43889c446f2cd545e1ff51bef9593fcec94ecd2c2ef89129fcbbf3adadbef520376a
languageName: node
linkType: hard
"espree@npm:^6.0.0":
version: 6.2.1
resolution: "espree@npm:6.2.1"
dependencies:
acorn: ^7.1.1
acorn-jsx: ^5.2.0
eslint-visitor-keys: ^1.1.0
checksum: 99c508950b5b9f53d008d781d2abb7a4ef3496ea699306fb6eb737c7e513aa594644314364c50ec27abb220124c6851fff64a6b62c358479534369904849360b
languageName: node
linkType: hard
"esprima@npm:^4.0.0":
version: 4.0.1
resolution: "esprima@npm:4.0.1"
@ -3290,7 +3517,7 @@ __metadata:
languageName: node
linkType: hard
"fast-glob@npm:^3.2.11":
"fast-glob@npm:^3.2.11, fast-glob@npm:^3.2.5":
version: 3.2.11
resolution: "fast-glob@npm:3.2.11"
dependencies:
@ -4383,6 +4610,17 @@ fsevents@~2.3.2:
languageName: node
linkType: hard
"js-yaml@npm:^4.1.0":
version: 4.1.0
resolution: "js-yaml@npm:4.1.0"
dependencies:
argparse: ^2.0.1
bin:
js-yaml: bin/js-yaml.js
checksum: c7830dfd456c3ef2c6e355cc5a92e6700ceafa1d14bba54497b34a99f0376cecbb3e9ac14d3e5849b426d5a5140709a66237a8c991c675431271c4ce5504151a
languageName: node
linkType: hard
"jsesc@npm:^2.5.1":
version: 2.5.2
resolution: "jsesc@npm:2.5.2"
@ -4413,7 +4651,7 @@ fsevents@~2.3.2:
languageName: node
linkType: hard
"json5@npm:^2.1.1, json5@npm:^2.1.2, json5@npm:^2.2.1":
"json5@npm:^2.1.1, json5@npm:^2.1.2, json5@npm:^2.2.0, json5@npm:^2.2.1":
version: 2.2.1
resolution: "json5@npm:2.2.1"
bin:
@ -4422,6 +4660,19 @@ fsevents@~2.3.2:
languageName: node
linkType: hard
"jsonc-eslint-parser@npm:^1.0.1":
version: 1.4.1
resolution: "jsonc-eslint-parser@npm:1.4.1"
dependencies:
acorn: ^7.4.1
eslint-utils: ^2.1.0
eslint-visitor-keys: ^1.3.0
espree: ^6.0.0
semver: ^6.3.0
checksum: 46d1ce924c0ddc738102a90a87346030c7928d1ced2997d59f04949f271a328f5a101d13ee744cebfff90382eb663c6be312728fd7edfc29cadbe33e8272673d
languageName: node
linkType: hard
"jsonc-parser@npm:^3.0.0":
version: 3.0.0
resolution: "jsonc-parser@npm:3.0.0"
@ -4642,7 +4893,7 @@ fsevents@~2.3.2:
languageName: node
linkType: hard
"lodash@npm:^4.17.21":
"lodash@npm:^4.17.20, lodash@npm:^4.17.21":
version: 4.17.21
resolution: "lodash@npm:4.17.21"
checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7
@ -5668,6 +5919,13 @@ fsevents@~2.3.2:
languageName: node
linkType: hard
"pathe@npm:^0.3.0":
version: 0.3.0
resolution: "pathe@npm:0.3.0"
checksum: 1da704da2b625b9062be4079b6f8d5609e053add991520fb6a43905b492ee48e5c61cc6fb87f7ae970df39d4b7be1e6840285f683d670f8b430481e46c81c863
languageName: node
linkType: hard
"perfect-debounce@npm:^0.1.3":
version: 0.1.3
resolution: "perfect-debounce@npm:0.1.3"
@ -6625,6 +6883,7 @@ resolve@^1.17.0:
version: 0.0.0-use.local
resolution: "root-workspace-0b6124@workspace:."
dependencies:
"@intlify/nuxt3": ^0.2.2
"@nuxt/postcss8": ^1.1.3
"@nuxt/types": ^2.15.8
"@nuxtjs/i18n": ^7.2.2
@ -6995,6 +7254,13 @@ resolve@^1.17.0:
languageName: node
linkType: hard
"source-map@npm:0.6.1, source-map@npm:^0.6.0, source-map@npm:^0.6.1, source-map@npm:~0.6.1":
version: 0.6.1
resolution: "source-map@npm:0.6.1"
checksum: 59ce8640cf3f3124f64ac289012c2b8bd377c238e316fb323ea22fbfe83da07d81e000071d7242cad7a23cd91c7de98e4df8830ec3f133cb6133a5f6e9f67bc2
languageName: node
linkType: hard
"source-map@npm:^0.5.0":
version: 0.5.7
resolution: "source-map@npm:0.5.7"
@ -7002,13 +7268,6 @@ resolve@^1.17.0:
languageName: node
linkType: hard
"source-map@npm:^0.6.0, source-map@npm:^0.6.1, source-map@npm:~0.6.1":
version: 0.6.1
resolution: "source-map@npm:0.6.1"
checksum: 59ce8640cf3f3124f64ac289012c2b8bd377c238e316fb323ea22fbfe83da07d81e000071d7242cad7a23cd91c7de98e4df8830ec3f133cb6133a5f6e9f67bc2
languageName: node
linkType: hard
"source-map@npm:^0.7.3":
version: 0.7.3
resolution: "source-map@npm:0.7.3"
@ -7523,6 +7782,13 @@ resolve@^1.17.0:
languageName: node
linkType: hard
"ufo@npm:^0.8.4":
version: 0.8.4
resolution: "ufo@npm:0.8.4"
checksum: a2ebef6f64b9cc4114fc65405837eeb83eb8975edd6d54c7f37abb6905da6fd1f63524e4a02c8b087e7b0b3db6e6f4f798a3d86a96500410ff590b405f807dc9
languageName: node
linkType: hard
"unbox-primitive@npm:^1.0.1":
version: 1.0.1
resolution: "unbox-primitive@npm:1.0.1"
@ -7588,6 +7854,23 @@ resolve@^1.17.0:
languageName: node
linkType: hard
"unimport@npm:^0.1.9":
version: 0.1.9
resolution: "unimport@npm:0.1.9"
dependencies:
"@rollup/pluginutils": ^4.2.1
escape-string-regexp: ^5.0.0
globby: ^13.1.1
local-pkg: ^0.4.1
magic-string: ^0.26.1
mlly: ^0.5.2
pathe: ^0.3.0
scule: ^0.2.1
unplugin: ^0.6.3
checksum: 5cf8144c7fc35c201a552e264ae5b5e174497d4c9dd7819e36128bba57d04d5fcda511a5a60d16c4d9c3227b2c638153825290817c4af4a6f9548a882b61b88d
languageName: node
linkType: hard
"unique-filename@npm:^1.1.1":
version: 1.1.1
resolution: "unique-filename@npm:1.1.1"
@ -7645,6 +7928,31 @@ resolve@^1.17.0:
languageName: node
linkType: hard
"unplugin@npm:^0.6.3":
version: 0.6.3
resolution: "unplugin@npm:0.6.3"
dependencies:
chokidar: ^3.5.3
webpack-sources: ^3.2.3
webpack-virtual-modules: ^0.4.3
peerDependencies:
esbuild: ">=0.13"
rollup: ^2.50.0
vite: ^2.3.0
webpack: 4 || 5
peerDependenciesMeta:
esbuild:
optional: true
rollup:
optional: true
vite:
optional: true
webpack:
optional: true
checksum: 14e1f9c941e87e97fdda3efc745183e027de7d8b88eed8be5fa0708c2ec5dd114cc10e569c4b9dd2dafc89ba84d8bf90935d01e02cef510b7faedaa8af2b081f
languageName: node
linkType: hard
"unstorage@npm:^0.3.3":
version: 0.3.3
resolution: "unstorage@npm:0.3.3"
@ -7866,6 +8174,20 @@ resolve@^1.17.0:
languageName: node
linkType: hard
"vue-i18n@npm:beta":
version: 9.2.0-beta.35
resolution: "vue-i18n@npm:9.2.0-beta.35"
dependencies:
"@intlify/core-base": 9.2.0-beta.35
"@intlify/shared": 9.2.0-beta.35
"@intlify/vue-devtools": 9.2.0-beta.35
"@vue/devtools-api": ^6.0.0-beta.13
peerDependencies:
vue: ^3.0.0
checksum: 3b589e3ee833d61c069fa206f06b67970cac69bb7db492d9c50718fbac3651eb751e261106f5c34ab89bb8f7671d5202446ed96baade907fa57862ff889a18fd
languageName: node
linkType: hard
"vue-router@npm:^4.0.14":
version: 4.0.14
resolution: "vue-router@npm:4.0.14"
@ -8082,6 +8404,17 @@ resolve@^1.17.0:
languageName: node
linkType: hard
"yaml-eslint-parser@npm:^0.3.2":
version: 0.3.2
resolution: "yaml-eslint-parser@npm:0.3.2"
dependencies:
eslint-visitor-keys: ^1.3.0
lodash: ^4.17.20
yaml: ^1.10.0
checksum: 7161626406cedcb9bb49ef8e7116f2991439feb2c73cda669c08cbd86a6e337701c8073df9bc9e750fedd0b847172afe4a9d6e0c54575b6dc3efa1168348c094
languageName: node
linkType: hard
"yaml@npm:^1.10.0, yaml@npm:^1.10.2":
version: 1.10.2
resolution: "yaml@npm:1.10.2"