Skip to content

mcuking/vitesandbox-client-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ViteSandbox Client Example

This repo is used to show the usage of ViteSandbox.

You can try ViteSandbox in the page:

https://mcuking.github.io/vitesandbox-client-example/

image

Usage

Usage Example Code:

import Sandbox from './sandbox';

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 code.

Related Projects

ViteSandbox Client Repo:

https://github.com/mcuking/vitesandbox-client

About

vitesandbox client application example

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published