StackBlitz SDK
The StackBlitz JavaScript SDK lets you programmatically create StackBlitz projects to be opened in a new window or embedded in your docs, example pages, or blog posts.
Once embedded, the projects can be controlled by using the SDK’s VM interface.
In this tutorial, you will learn how to use StackBlitz SDK to:
- initialize a coding environment,
- source the code,
- and use it do implement a “run this code” feature.
Let’s get started!
Files
Preparing Environment
- Installing dependencies
- Starting http server