@guolao/js-playground
v0.0.3-beta
Published
A js playground component.
Downloads
4
Maintainers
Readme
JS Playground
A js playground component in vue3.
Installation
npm i @guolao/js-playground
Usage
<template>
<js-playground default-code="code" />
</template>
<script setup>
import { JSPlayground } from '@guolao/js-playground'
import '@guolao/js-playground/dist/style.css'
const code = 'console.log(123)'
</script>