Implemented @theatre/browser-bundles

This commit is contained in:
Aria Minaei 2021-09-30 21:58:22 +02:00
parent 4a12a92428
commit 097ff51a7a
11 changed files with 195 additions and 0 deletions

View file

@ -0,0 +1,11 @@
<script src="./dist/core-and-studio.js"></script>
<script>
const {core} = Theatre
const studio = Theatre.studio
studio.initialize()
const project = core.getProject('My project')
const sheet = project.sheet('My sheet')
const obj = sheet.object('Box', {x: 0, y: 0})
console.log(obj.value.x)
</script>