-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use systemjs in index #1059
Comments
hi @aleclarson thanks |
@musashiM82 You need to clone Vite, use |
@aleclarson thanks again and sorry for boring you but Im getting this error now Uncaught (in promise) Error: https://unpkg.com/[email protected]/umd/react.production.min.js (SystemJS https://git.io/JvFET#2) thanks in advance |
Turns out the minimal loader (which is embedded in your You can get around this by using the full-featured loader instead: useSystemJs: 'https://unpkg.com/[email protected]/dist/system.min.js', |
thanks |
For future reference, @esm-bundle/react is a System bundle of React. See also "An ESM bundle for any NPM package" for a full explanation. |
Describe the bug
is there a way to use systemjs in index.html for importing dynamically some library?
this is my index.html
but I get this error on dev mode
thanks in advance
System Info
vite
version: [email protected]vue
version (fromyarn.lock
orpackage-lock.json
): 3.0.1@vue/compiler-sfc
version: 3.0.1The text was updated successfully, but these errors were encountered: