Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

What should I do if I want to use vue-router through cdn in my website? #2240

Closed
yonecdeng opened this issue May 16, 2024 · 0 comments
Closed

Comments

@yonecdeng
Copy link

Reproduction

1

Steps to reproduce the bug

  1. vite project
  2. external 'vue-router' when you build your project.
  3. inject https://cdnjs.cloudflare.com/ajax/libs/vue-router/4.3.2/vue-router.esm-browser.min.js in your html.

Expected behavior

run normally

Actual behavior

throw error in chrome
image

Additional information

No response

@vuejs vuejs locked and limited conversation to collaborators May 16, 2024
@posva posva converted this issue into discussion #2241 May 16, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant