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

use vite with vue2 on ssr, dynamic import cause Cannot add property _Ctor, object is not extensible #12471

Open
869288142 opened this issue Feb 17, 2022 · 2 comments

Comments

@869288142
Copy link

869288142 commented Feb 17, 2022

Version

2.6.14

Reproduction link

github.com

Steps to reproduce

  1. git clone repo
  2. pnpm install
  3. pnpm build
  4. node server.js
  5. open http://localhost:3000/ in browser

What is expected?

use vite with vue2 on ssr, dynamic import work

What is actually happening?

Cannot add property _Ctor, object is not extensible


i find the same issue #11656 , but no fixed

I send a PR https://github.com/vuejs/vue/pull/12320/commits

@Juninhoww2
Copy link

Juninhoww2 commented Feb 24, 2022

closed

@lzxb
Copy link
Contributor

lzxb commented Jul 26, 2022

Same as this
vitejs/vite-plugin-vue2#20

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