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

TypeError: (0 , t2.openBlock) is not a function #16

Open
myomyintaung1411 opened this issue Aug 2, 2022 · 5 comments
Open

TypeError: (0 , t2.openBlock) is not a function #16

myomyintaung1411 opened this issue Aug 2, 2022 · 5 comments

Comments

@myomyintaung1411
Copy link

No description provided.

@zreren
Copy link

zreren commented Sep 20, 2022

i also meet this problem in my project with vue3 and typescript

@DanBrima
Copy link

DanBrima commented Sep 25, 2022

import vue from "@vitejs/plugin-vue";
import { defineConfig } from "vite";

export default defineConfig({
  plugins: [vue()],
  resolve: { dedupe: ["vue"] },
});

make sure this is your vite config file

@Mata-wqq
Copy link

Are there any other idea/solution for this issue ? I'm not using vite at all.

@321dev
Copy link

321dev commented Mar 7, 2023

import vue from "@vitejs/plugin-vue";
import { defineConfig } from "vite";

export default defineConfig({
  plugins: [vue()],
  resolve: { dedupe: ["vue"] },
});

make sure this is your vite config file

Could you explain what the underlying problem is, and how your change resolves it?

TIA

@scholtz
Copy link
Owner

scholtz commented May 18, 2023

there is typescript demo that does not show this error .. does it still apply after latest update? https://github.com/scholtz/qrcode-vue3-sample/blob/864df396c9099c1d0f164f09ba984faf3f8c3fa5/src/App.vue#L12

@scholtz scholtz mentioned this issue May 18, 2023
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

6 participants