You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/sdk/browser/example/README.md
+19-11Lines changed: 19 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,22 +13,30 @@ We've built a simple browser application that demonstrates how this LaunchDarkly
13
13
Below, you'll find the build procedure. For more comprehensive instructions, you can visit your [Quickstart page](https://app.launchdarkly.com/quickstart#/) or
14
14
the [{name of SDK} reference guide](https://docs.launchdarkly.com/sdk/client-side/javascript).
15
15
16
+
## Prerequisites
17
+
18
+
Nodejs 20.6.0 or later
19
+
16
20
## Build instructions
17
21
18
-
Modify [app.ts](./src/app.ts) with the following changes:
22
+
1. Make a copy of the `.env.template` and name it `.env`
23
+
```
24
+
cp .env.template .env
25
+
```
19
26
20
-
1. Set the value of the {`clientSideID`} variable in {file name} to your client-side ID:
21
-
```typescript
22
-
const clientSideID ="my-client-side-id";
27
+
2. Set the variables in `.env` to your specific LD values
0 commit comments