diff --git a/components/LLazyImg.vue b/components/LLazyImg.vue new file mode 100644 index 0000000..9683da6 --- /dev/null +++ b/components/LLazyImg.vue @@ -0,0 +1,27 @@ + + + \ No newline at end of file diff --git a/nuxt.config.ts b/nuxt.config.ts index cdaf7ec..cbfce8d 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -2,6 +2,11 @@ export default defineNuxtConfig({ devtools: { enabled: true }, ssr: false, + vue: { + compilerOptions: { + isCustomElement: (tag) => ['l-dot-stream'].includes(tag), + }, + }, app: { baseURL: "/clean-cuts/", pageTransition: { diff --git a/package-lock.json b/package-lock.json index 862afb7..df8f4bc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "dependencies": { "aos": "^2.3.4", "axios": "^1.6.8", + "ldrs": "^1.0.2", "nuxt": "^3.11.2", "nuxt-app": "file:", "vue": "^3.4.21", @@ -4943,6 +4944,12 @@ "safe-buffer": "~5.1.0" } }, + "node_modules/ldrs": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/ldrs/-/ldrs-1.0.2.tgz", + "integrity": "sha512-sYJmivdkIiHrUEqTrEWccBoLdaENpzbzkABI5rk8rRxTXrg9i2xVuDvUUuhOhJY3RmQyaoxs046pM1DCRdcIpg==", + "license": "MIT" + }, "node_modules/lilconfig": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.2.tgz", diff --git a/package.json b/package.json index 5201cba..15df014 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "dependencies": { "aos": "^2.3.4", "axios": "^1.6.8", + "ldrs": "^1.0.2", "nuxt": "^3.11.2", "nuxt-app": "file:", "vue": "^3.4.21", diff --git a/pages/champions/index.vue b/pages/champions/index.vue index 88c6efe..7aa6af9 100644 --- a/pages/champions/index.vue +++ b/pages/champions/index.vue @@ -17,15 +17,13 @@ watch(currentLocale, async () => {