Skip to content

Commit 17efa78

Browse files
committed
Update deps
1 parent 1449855 commit 17efa78

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

examples/vanilla/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
This example demonstrates how to connect to a robot. The example uses Vite + vanilla TypeScript and HTML.
44

5+
> NOTE: This example does not work in Firefox. Please use Safari/Chrome/Chromium-based browser
6+
57
## Usage
68

79
You must have a `.env` file in this directory with the following connection info which can be easily found in the TypeScript code sample for your machine.
@@ -15,7 +17,7 @@ VITE_API_KEY="<API_KEY>"
1517
Installing will build the TypeScript SDK, then you can run the example using Vite.
1618

1719
```
18-
cd examples/teleop-vanilla
20+
cd examples/vanilla
1921
npm install
2022
npm run dev
2123
```
@@ -26,5 +28,5 @@ Edit `src/main.ts` to change the robot logic being run. Edit `index.html` to cha
2628

2729
This example assumes that you are working inside the Viam TypeScript SDK repository. If you want to use this example as a base for your project, make the following changes:
2830

29-
* Remove the `preinstall: ...` line from `package.json`
30-
* Install the SDK: `npm install @viamrobotics/sdk@latest`
31+
- Remove the `preinstall: ...` line from `package.json`
32+
- Install the SDK: `npm install @viamrobotics/sdk@latest`

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)