Skip to content
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

<!--function(a,o,s,u){return lt(e,a,o,s,u,!0)}--> when i use 'import Vue from vue' #53

Closed
KamiC6238 opened this issue Apr 16, 2021 · 2 comments

Comments

@KamiC6238
Copy link

image
image
image

how can i make the code work?

@Miloas
Copy link

Miloas commented Apr 16, 2021

that's because import from vue doesn't contain compiler

skypackjs/skypack-cdn#78

so if you want to run vue2 in browser you need

import Vue from 'https://esm.sh/vue/dist/vue.esm.browser.min.js'

@ije
Copy link
Member

ije commented Apr 16, 2021

please check https://esm.sh/?test, vue2/vue3 can work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants