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

does not provide an export named 'render' #26

Open
sxuan11 opened this issue Sep 27, 2022 · 0 comments
Open

does not provide an export named 'render' #26

sxuan11 opened this issue Sep 27, 2022 · 0 comments

Comments

@sxuan11
Copy link

sxuan11 commented Sep 27, 2022

环境win10,vue2,vite3

  • vite:3.1.3
  • vite-plugin-vue2:2.0.2
    配置文件如下,
const config = (mode) => {
  const envConfig = loadEnv(mode, process.cwd());
  return defineConfig({
    resolve: {
      plugins: [
        createVuePlugin({ jsx: true }),
        Inspector({
          vue: 2,
        }),
      ],
    }
  });
};

启动后打开页面,控制台有如下报错
65473B8E-7578-47ef-A6FF-3603FDA2EB10
我试了一下vite2是正常的,在3里面会有这个报错

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

1 participant