From ed5a7730fdbd66ab094b34031afc54e6d94d5e6e Mon Sep 17 00:00:00 2001 From: Chris Olsen Date: Wed, 2 Apr 2025 10:37:38 -0600 Subject: [PATCH 1/3] fix(#2550): remove the `lts` tag from the setup instructions --- src/routes/get-started/developers/DevelopersSetup.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/get-started/developers/DevelopersSetup.tsx b/src/routes/get-started/developers/DevelopersSetup.tsx index ab2dd495a..c1cb7fe1d 100644 --- a/src/routes/get-started/developers/DevelopersSetup.tsx +++ b/src/routes/get-started/developers/DevelopersSetup.tsx @@ -24,7 +24,7 @@ export default function DevelopersSetupPage() { allowCopy={true} code={` npm i @abgov/web-components - npm i @abgov/angular-components@lts + npm i @abgov/angular-components `} /> @@ -89,7 +89,7 @@ export default function DevelopersSetupPage() { tags="react" allowCopy={true} code={` - npm i @abgov/react-components@lts + npm i @abgov/react-components npm i @abgov/web-components `} /> From 63f2c7832d2869d613bdedea9c062e4101c47125 Mon Sep 17 00:00:00 2001 From: Chris Olsen Date: Wed, 2 Apr 2025 10:38:49 -0600 Subject: [PATCH 2/3] fix(#2550): remove the `tags` prop from the CodeSnippets --- src/routes/get-started/developers/DevelopersSetup.tsx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/routes/get-started/developers/DevelopersSetup.tsx b/src/routes/get-started/developers/DevelopersSetup.tsx index c1cb7fe1d..30eae3737 100644 --- a/src/routes/get-started/developers/DevelopersSetup.tsx +++ b/src/routes/get-started/developers/DevelopersSetup.tsx @@ -20,7 +20,6 @@ export default function DevelopersSetupPage() {

1. Add Dependencies

2. Link ionicons in app/index.html Add the following in the head element @@ -42,7 +40,6 @@ export default function DevelopersSetupPage() {

3. Update src/app/app.module.ts as per the four steps below

4. Add the styles link in the src/styles.css file @@ -86,7 +82,6 @@ export default function DevelopersSetupPage() {

1. Add Dependencies

2. Link ionicons in app/index.html Add the following to the head element @@ -108,7 +102,6 @@ export default function DevelopersSetupPage() {

3. Import the web-component styles in the src/index.css file

@@ -121,7 +114,6 @@ export default function DevelopersSetupPage() {

1. Add Dependencies

@@ -129,7 +121,6 @@ export default function DevelopersSetupPage() {

2. Link ionicons in index.html Add the following in the head element

@@ -158,7 +149,6 @@ export default function DevelopersSetupPage() {

4. Import the web-components into src/main.js:

@@ -169,7 +159,6 @@ export default function DevelopersSetupPage() { From 8563aba8786f940e146dc69f20cb06c5c70a50f3 Mon Sep 17 00:00:00 2001 From: Chris Olsen Date: Wed, 2 Apr 2025 10:39:17 -0600 Subject: [PATCH 3/3] chore(#2550): formatting fixes --- .../developers/DevelopersSetup.tsx | 29 ++++--------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/src/routes/get-started/developers/DevelopersSetup.tsx b/src/routes/get-started/developers/DevelopersSetup.tsx index 30eae3737..0dd79df42 100644 --- a/src/routes/get-started/developers/DevelopersSetup.tsx +++ b/src/routes/get-started/developers/DevelopersSetup.tsx @@ -108,7 +108,7 @@ export default function DevelopersSetupPage() { -

Vue web components

+

Web components

This library contains react components from the Government of Alberta.

1. Add Dependencies

@@ -128,25 +128,7 @@ export default function DevelopersSetupPage() { `} /> -

3. Update vite.config.js with the following:

- tag.includes('goa-') - } - } - })], - `} - /> - -

4. Import the web-components into src/main.js:

+

3. Import the web-components into src/main.js:

- 5. Add the styles link in the src/assets/main.css file or wherever your main css file is + 4. Add the styles link in the src/assets/main.css file or wherever your main css file is located:

npm run build
  • - npm run start-- if using Angular, npm run dev --if using - react + npm run start # Angular +
    + npm run dev # React