Implemented @theatre/browser-bundles
This commit is contained in:
parent
4a12a92428
commit
097ff51a7a
11 changed files with 195 additions and 0 deletions
11
packages/browser-bundles/test.html
Normal file
11
packages/browser-bundles/test.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue