Skip to content

Commit 8e0f44d

Browse files
author
Marcin Kwiatkowski
committed
refactor: added loazy loaded components for default layout and app header (#564)
* chore(theme): removed recaptcha from package.json * refactor(theme): added lazy loaded components to default layout and app header
1 parent 9feb3c4 commit 8e0f44d

File tree

3 files changed

+4
-33
lines changed

3 files changed

+4
-33
lines changed

packages/theme/layouts/default.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export default defineComponent({
4242
LoadWhenVisible,
4343
LazyHydrate,
4444
AppHeader,
45+
TopBar,
4546
BottomNavigation,
4647
IconSprite,
4748
TopBar,

packages/theme/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
"@nuxtjs/google-fonts": "^1.3.0",
3434
"@nuxtjs/pwa": "^3.3.5",
3535
"@nuxtjs/style-resources": "^1.2.1",
36-
"@nuxtjs/recaptcha": "^1.0.4",
3736
"@storefront-ui/vue": "^0.11.5",
3837
"@vue-storefront/cache": "^2.5.4",
3938
"@vue-storefront/core": "~2.5.4",
@@ -58,8 +57,7 @@
5857
"pm2": "^5.1.2",
5958
"vee-validate": "^3.4.14",
6059
"vue-lazy-hydration": "^2.0.0-beta.4",
61-
"vue-scrollto": "^2.20.0",
62-
"@nuxt/image": "^0.6.1"
60+
"vue-scrollto": "^2.20.0"
6361
},
6462
"devDependencies": {
6563
"@babel/core": "^7.16.12",
@@ -90,7 +88,6 @@
9088
"mochawesome": "^7.0.1",
9189
"mochawesome-merge": "^4.2.1",
9290
"mochawesome-report-generator": "^6.0.1",
93-
"npm-check-updates": "^12.2.1",
9491
"npm-check-updates": "^12.1.0",
9592
"rollup-plugin-terser": "^7.0.2",
9693
"ts-jest": "^27.1.3",

yarn.lock

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
dependencies:
1010
"@types/throttle-debounce" "^2.1.0"
1111

12-
"@apollo/client@^3.5.7", "@apollo/client@^3.5.8":
12+
"@apollo/client@^3.5.8":
1313
version "3.5.8"
1414
resolved "https://registry.yarnpkg.com/@apollo/client/-/client-3.5.8.tgz#7215b974c5988b6157530eb69369209210349fe0"
1515
integrity sha512-MAm05+I1ullr64VLpZwon/ISnkMuNLf6vDqgo9wiMhHYBGT4yOAbAIseRdjCHZwfSx/7AUuBgaTNOssZPIr6FQ==
@@ -3220,11 +3220,6 @@
32203220
serve-static "^1.14.1"
32213221
workbox-cdn "^5.1.4"
32223222

3223-
"@nuxtjs/recaptcha@^1.0.4":
3224-
version "1.0.4"
3225-
resolved "https://registry.yarnpkg.com/@nuxtjs/recaptcha/-/recaptcha-1.0.4.tgz#a12e3faa619c82d3e003b59cb6307516c8416ec3"
3226-
integrity sha512-4K9cXaVGZrcXy3ys5OBL1/njkOxTpRjLDKLU/S6qatyISdGLv+tSFLSCJeEKTCO7UHC1fMCTb5UlOWajkQqPdw==
3227-
32283223
"@nuxtjs/style-resources@^1.0.0", "@nuxtjs/style-resources@^1.2.1":
32293224
version "1.2.1"
32303225
resolved "https://registry.yarnpkg.com/@nuxtjs/style-resources/-/style-resources-1.2.1.tgz#9a2b6580b2ed9b06e930bee488a56b8376a263de"
@@ -4519,28 +4514,6 @@
45194514
lodash-es "^4.17.15"
45204515
vue "^2.6.11"
45214516

4522-
"@vue-storefront/[email protected]":
4523-
version "1.0.0-rc.5.3"
4524-
resolved "https://registry.yarnpkg.com/@vue-storefront/magento-api/-/magento-api-1.0.0-rc.5.3.tgz#0640254b65e4db34575ec0780aa6dbcac732f401"
4525-
integrity sha512-9he0s/DakmP6lTMuoZJwRGxGRXumcABXsd5GAp2TmidC4NIpsbq5TenrnkTw25JpLwu/fU/PW07dDGSpV9Kn4g==
4526-
dependencies:
4527-
"@apollo/client" "^3.5.7"
4528-
graphql "^16.2.0"
4529-
graphql-tag "^2.12.6"
4530-
isomorphic-fetch "^3.0.0"
4531-
4532-
"@vue-storefront/[email protected]":
4533-
version "1.0.0-rc.5.3"
4534-
resolved "https://registry.yarnpkg.com/@vue-storefront/magento/-/magento-1.0.0-rc.5.3.tgz#3e02b50b6af0884abdd8b549998800aeb36bedd6"
4535-
integrity sha512-lnWDlhr6sRCTJjDZntwDIhFZkdWqbMWO0VUEpdu1HP1TJRtoerwQWtFcabzlzawNpDWSmf8DOUPmTO4Jm9hqyQ==
4536-
dependencies:
4537-
"@vue-storefront/core" "~2.5.4"
4538-
"@vue-storefront/magento-api" "1.0.0-rc.5.3"
4539-
"@vue/composition-api" "^1.4.1"
4540-
cookie-universal "^2.1.5"
4541-
vue "^2.6.14"
4542-
vue-demi "^0.12.1"
4543-
45444517
"@vue-storefront/middleware@~2.5.4":
45454518
version "2.5.4"
45464519
resolved "https://registry.yarnpkg.com/@vue-storefront/middleware/-/middleware-2.5.4.tgz#d4a953d7aa88f65ca2710c235370a14d1ba57a50"
@@ -10465,7 +10438,7 @@ graphql-ws@^5.4.1:
1046510438
resolved "https://registry.yarnpkg.com/graphql-ws/-/graphql-ws-5.5.5.tgz#f375486d3f196e2a2527b503644693ae3a8670a9"
1046610439
integrity sha512-hvyIS71vs4Tu/yUYHPvGXsTgo0t3arU820+lT5VjZS2go0ewp2LqyCgxEN56CzOG7Iys52eRhHBiD1gGRdiQtw==
1046710440

10468-
graphql@*, graphql@^16.2.0, graphql@^16.3.0:
10441+
graphql@*, graphql@^16.3.0:
1046910442
version "16.3.0"
1047010443
resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.3.0.tgz#a91e24d10babf9e60c706919bb182b53ccdffc05"
1047110444
integrity sha512-xm+ANmA16BzCT5pLjuXySbQVFwH3oJctUVdy81w1sV0vBU0KgDdBGtxQOUd5zqOBk/JayAFeG8Dlmeq74rjm/A==

0 commit comments

Comments
 (0)