cubev
v0.4.1
Published
a Cube with Vue!
Downloads
7
Readme
Cubev
a Cube with Vue! A reactive, open-interface, dynamic, in-browser Vue 3 SFC renderer and editor inspired by https://sfc.vuejs.org/.
Installation
npm i cubev
In index.html
, add the following element to <head>
<script>window.process = { env: {} }</script>
Get Started
<template>
<cubev :state="state1"></cubev>
<cubev :state="state2"></cubev>
</template>
<script setup>
import { reactive } from 'vue'
import Cubev from 'cubev'
const state1 = reactive({})
const state2 = reactive({})
</script>