Closed TTcom closed 2 years ago
vite 3.0 启动报错[vite] Internal server error: $ can only be used as the initializer of a variable declaration. "vite": "v3.0.3", "unplugin-vue2-script-setup": "^0.11.3" use: plugins: [ ScriptSetup({ reactivityTransform: true }) ]
npm run dev
windows10 chrome浏览器 nodejs v16.16.0
pnpm
We temporarily close this due to the lack of enough information. Please provide a minimal reproduction to reopen the issue. Thanks.
Why reproduction is required
Describe the bug
vite 3.0 启动报错[vite] Internal server error: $ can only be used as the initializer of a variable declaration. "vite": "v3.0.3", "unplugin-vue2-script-setup": "^0.11.3" use: plugins: [ ScriptSetup({ reactivityTransform: true }) ]
Reproduction
npm run dev
System Info
Used Package Manager
pnpm
Validations