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
This repo serves as an interface to communicate with the bundler. The bundler itself is hosted on `sandpack-{version}.codesandbox.io` and is heavily cached by a CDN. We also included the necessary files under `bundler` if you want to host the bundler yourself.
31
+
This repo serves as an interface to communicate with the bundler. The bundler itself is hosted on `sandpack-{version}.codesandbox.io` and is heavily cached by a CDN. We also included the necessary files under `sandpack` if you want to host the bundler yourself.
31
32
32
33
### Using the Manager
33
34
@@ -36,7 +37,8 @@ The Manager is a class implementation, you can use it by importing Manager.
36
37
```js
37
38
import { Manager } from'sandpack';
38
39
39
-
// There are two ways of initializing a preview, you can give it either an iframe element or a selector of an element to create an iframe on.
40
+
// There are two ways of initializing a preview, you can give it either an
41
+
// iframe element or a selector of an element to create an iframe on.
40
42
constmanager=newManager(
41
43
'#preview',
42
44
{
@@ -189,7 +191,8 @@ The third argument in the constructor of `Manager` is extra options. It has this
189
191
*/
190
192
height?:string;
191
193
/**
192
-
* If we should skip the third step: evaluation.
194
+
* If we should skip the third step: evaluation. Useful if you only want to see
0 commit comments