vitesandbox-client
v0.0.1
Published
online sandbox based on vite
Downloads
2
Readme
ViteSandbox
An Online Vite Sandbox that compiles web projects based on browser-vite
You can try ViteSandbox in the page:
https://mcuking.github.io/vitesandbox-client-example/
Usage
Usage Example Code:
const files = {
'/package.json': JSON.stringify(packageJson),
'/index.html': htmlCode,
'/src/index.js': entryCode,
'/src/index.less': lessCode,
'/src/App.js': appCode,
};
<Sandbox
bundlerURL="https://mcuking.github.io/vitesandbox-client/"
files={files} />
For more details, please check this repo: https://github.com/mcuking/vitesandbox-client-example