You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 25, 2024. It is now read-only.
App.vue is a normal component, and it is using HelloWorld.vue, which is a setup component.
yarn install
yarn build
[unplugin-vue2-script-setup] <script setup> language must be the same as <script>
file: /Users/zhaojinxiang/repos/vue2-project/src/App.vue
error during build:
SyntaxError: <script setup> language must be the same as <script>
at parseSFC (/Users/zhaojinxiang/repos/vue2-project/node_modules/unplugin-vue2-script-setup/dist/chunk-54VX22Y6.js:245:11)
at transformVue (/Users/zhaojinxiang/repos/vue2-project/node_modules/unplugin-vue2-script-setup/dist/chunk-54VX22Y6.js:673:15)
at transform (/Users/zhaojinxiang/repos/vue2-project/node_modules/unplugin-vue2-script-setup/dist/chunk-54VX22Y6.js:657:12)
at Object.transform (/Users/zhaojinxiang/repos/vue2-project/node_modules/unplugin-vue2-script-setup/dist/chunk-54VX22Y6.js:712:16)
at Object.plugin.transform (/Users/zhaojinxiang/repos/vue2-project/node_modules/unplugin/dist/index.js:67:25)
at /Users/zhaojinxiang/repos/vue2-project/node_modules/rollup/dist/shared/rollup.js:22620:25
error Command failed with exit code 1.