Closed rirh closed 3 years ago
Hi. The live2dcubismcore.min.js
is not a module so it can't be imported, instead it should be referred by a <script>
tag.
To run the live2d-viewer-web locally, you need to place live2dcubismcore.min.js
in the public
folder.
Thanks it's works!!! :)
package.json
main.ts
I got live2dcubismcore.min.js from cubism official website. result : index.js:7534 Uncaught (in promise) Error: Failed to start up Cubism 4 framework. at startUpWithRetry (index.js:7534)