From 006df921c72d2393d49f1008af06a8595ec6b1b3 Mon Sep 17 00:00:00 2001 From: Mike Chu Date: Fri, 14 Jul 2023 19:50:46 +0000 Subject: [PATCH 1/5] Update README --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ae06b4f..6722efc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Optimizely Vue.js Starter Kit -The goal of this repo is to get you to a running Vue app with Optimizely as fast as possible. +The goal of this repo is to get you to a running [Vue](https://vuejs.org/) app with Optimizely as fast as possible. ## Prerequisites @@ -16,14 +16,13 @@ To get started with the application, follow these steps: 1. Open Visual Studio Code and press `Ctrl + Shift + P` (or `Cmd + Shift + P` on macOS) to open the command palette. Type "Dev Containers: Clone Repository in Container Volume" and press Enter. 2. Enter the repository address `https://github.com/optimizely/vue-js-starter-kit`. -3. If asked, choose the `main` branch. -4. Once the repository is cloned and opened in the dev container, run the project by opening a terminal in Visual Studio Code (press ```Ctrl + ` ``` (or ```Cmd + ` ``` on macOS) and execute the following command: +3. Once the repository is cloned and opened in the dev container, run the project by opening a terminal in Visual Studio Code (press ```Ctrl + ` ``` (or ```Cmd + ` ``` on macOS) and execute the following command: ```shell npm run dev ``` -5. Click the link to the http://localhost:5173/ address to open a browser to the running Vue app. -6. Use the "Run" navigation link after reading the Quick Start information on the home page. +4. Click the link to the http://localhost:5173/ address to open a browser to the running Vue app. +5. Use the "Run" navigation link after reading the Quick Start information on the home page. ## To Exit From 2a513c1370bd448f322210046b85a41515434dfc Mon Sep 17 00:00:00 2001 From: Mike Chu Date: Fri, 14 Jul 2023 19:52:38 +0000 Subject: [PATCH 2/5] Update Starter SDK key --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index dbe30fc..9ea86f1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,7 +4,7 @@ import { RouterLink, RouterView } from 'vue-router' import HelloWorld from './components/HelloWorld.vue' import optimizelySdk from '@optimizely/optimizely-sdk' -const optimizelyClient = optimizelySdk.createInstance({ sdkKey: 'K4UmaV5Pk7cEh2hbcjgwe' }) +const optimizelyClient = optimizelySdk.createInstance({ sdkKey: 'Gun8fVoZXQUdaYqMasFgt' }) if (optimizelyClient === null) { throw new Error('Optimizely instance is null') } From 41bba1bc2440e96ca76e0513f10363161a1e8421 Mon Sep 17 00:00:00 2001 From: Mike Chu Date: Fri, 14 Jul 2023 19:54:56 +0000 Subject: [PATCH 3/5] Update the Welcome instructions --- src/components/TheWelcome.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/TheWelcome.vue b/src/components/TheWelcome.vue index 3cf2d78..af2816e 100644 --- a/src/components/TheWelcome.vue +++ b/src/components/TheWelcome.vue @@ -15,10 +15,10 @@ import SupportIcon from './icons/IconSupport.vue' We'll be following much of the Optimizely React quick start documentationOptimizely Javascript quick start documentation as a basis for this example app. @@ -49,7 +49,7 @@ import SupportIcon from './icons/IconSupport.vue'

- Once you have your Optimizely SDK key, you can add it to the + If you're using your own Optimizely SDK key, you can edit it to the src/App.vue. Then, click the Run nav link 👈 to see the example in action.

From 2eb1d673147ddc5389fec832bee70ccf84e2269e Mon Sep 17 00:00:00 2001 From: Mike Chu Date: Fri, 14 Jul 2023 19:55:32 +0000 Subject: [PATCH 4/5] Update devcontainer name --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 93c8105..1104a6e 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,5 +1,5 @@ { - "name": "Optimizely VueJS Starter Kit", + "name": "Optimizely Vue.js Starter Kit", "build": { "dockerfile": "Dockerfile", From 8bee424a3a8c867d6f2aadaf77e7a2df0d80de57 Mon Sep 17 00:00:00 2001 From: Mike Chu Date: Fri, 14 Jul 2023 20:03:26 +0000 Subject: [PATCH 5/5] Update SDK key again --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index 9ea86f1..bff5552 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,7 +4,7 @@ import { RouterLink, RouterView } from 'vue-router' import HelloWorld from './components/HelloWorld.vue' import optimizelySdk from '@optimizely/optimizely-sdk' -const optimizelyClient = optimizelySdk.createInstance({ sdkKey: 'Gun8fVoZXQUdaYqMasFgt' }) +const optimizelyClient = optimizelySdk.createInstance({ sdkKey: 'Jm4Qre4K2uNtdPT7TKs4v' }) if (optimizelyClient === null) { throw new Error('Optimizely instance is null') }