Can not import pixi.JS as node package #8300
Unanswered
LeonariX58
asked this question in
Q&A
Replies: 2 comments
-
Are you using some sort of bundler like webpack? |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you want to import as a module directly in the browser, check out this example: https://github.com/bigtimebuddy/pixi.js-browser-module-example The pixi.mjs file is available in the package from npm, from a CDN, or direct download from the releases section. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Error:
Uncaught TypeError: Failed to resolve module specifier "pixi.js". Relative references must start with either "/", "./", or "../".
Code:
Beta Was this translation helpful? Give feedback.
All reactions