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: docs/development/extensions/hello-world.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ The above is a standard component we will use for showing extension code. Make n
14
14
15
15
If you're just using simple files to develop extensions, save this code into a file called "hello-world.js". If you're using a local HTTP server, save the code in a file called "hello-world.js" that the server will let you access.
16
16
17
-
Now, go to the TurboWarp editor, click on the add extension button, scroll to the bottom, and choose the "Custom Extension" option. Either enter the full URL to your local HTTP server or use one of the other tabs to select your file. For now, **do not** check the "Run extension without sandbox" box.
17
+
Now, go to the TurboWarp editor, click on the add extension button (a + next to 2 blocks), scroll to the bottom of the Scratch section, and choose the "Custom Extension" option. Either enter the full URL to your local HTTP server or use one of the other tabs to select your file or paste in code. For now, **do not** check the "Run extension without sandbox" box.
18
18
19
19
After a second, an extension named "It works!" should appear in the sidebar. If it doesn't appear, open up your developer tools and look for any warnings in the console. Some of the most common errors are:
0 commit comments