From 4aded44d7326310729de895f4bf5cfb51e4a66c2 Mon Sep 17 00:00:00 2001 From: Kevin Rodrigues Date: Fri, 12 Jul 2024 13:35:30 +0100 Subject: [PATCH] =?UTF-8?q?feat(pie-monorepo):=20DSW-2056=20added=20pie-we?= =?UTF-8?q?bc=20integration=20to=20nuxt2=20and=20=E2=80=A6=20(#1595)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit feat(pie-monorepo): DSW-2056 added pie-webc integration to nuxt2 and nuxt3 wc example files --- .changeset/thick-lamps-guess.md | 6 ++++++ apps/examples/wc-nuxt2/package.json | 2 +- apps/examples/wc-nuxt2/plugins/web-components.js | 2 +- apps/examples/wc-nuxt3/app.vue | 2 +- apps/examples/wc-nuxt3/package.json | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 .changeset/thick-lamps-guess.md diff --git a/.changeset/thick-lamps-guess.md b/.changeset/thick-lamps-guess.md new file mode 100644 index 0000000000..6031f11314 --- /dev/null +++ b/.changeset/thick-lamps-guess.md @@ -0,0 +1,6 @@ +--- +"wc-nuxt2": minor +"wc-nuxt3": minor +--- + +[Added] pie-webc integration to wc-nuxt2 and wc-nuxt3 diff --git a/apps/examples/wc-nuxt2/package.json b/apps/examples/wc-nuxt2/package.json index 4269b4c7b1..1d96230269 100644 --- a/apps/examples/wc-nuxt2/package.json +++ b/apps/examples/wc-nuxt2/package.json @@ -10,8 +10,8 @@ "generate:examples": "nuxt generate" }, "dependencies": { - "@justeattakeaway/pie-button": "0.47.8", "@justeattakeaway/pie-css": "0.12.1", + "@justeattakeaway/pie-webc": "0.5.12", "core-js": "3.30.0", "nuxt": "2.17.0", "vue": "2.7.16", diff --git a/apps/examples/wc-nuxt2/plugins/web-components.js b/apps/examples/wc-nuxt2/plugins/web-components.js index 252047d52c..ee3d8ea28e 100644 --- a/apps/examples/wc-nuxt2/plugins/web-components.js +++ b/apps/examples/wc-nuxt2/plugins/web-components.js @@ -1 +1 @@ -import { PieButton } from '@justeattakeaway/pie-button'; +import { PieButton } from '@justeattakeaway/pie-webc/components/button.js'; diff --git a/apps/examples/wc-nuxt3/app.vue b/apps/examples/wc-nuxt3/app.vue index 1cfc5cc021..2138445d94 100644 --- a/apps/examples/wc-nuxt3/app.vue +++ b/apps/examples/wc-nuxt3/app.vue @@ -34,7 +34,7 @@