Describe the bug 在electron-vite开发环境下正常使用,但是打包的时候报错Cannot find name 'reactive' Reproduction https://codesandbox.io/p/devbox/cool-bassi-qk7hd7?file=%2Faaaa%2Felectron-app%2Fsrc%2Frenderer%2Fsrc%2FApp.vue%3A8%2C1 System Info 在electron-v
18 <Tabs v-model:selected="refSelected"> ~~~ src/views/Doc.vue:18:20 - error TS2304: Cannot find name 'asideVisible'. 18 ~~~ src/lib/Button.vue:43:19 - error TS2304: Cannot find name 'classes'. 43 :class="classes" ~~~ src/lib/Button.vue:44:22 - error TS2304: Cannot fi...
module.exports={extends:['plugin:vue/vue3-essential','standard-with-typescript','prettier'],plugins:['vue','@typescript-eslint','prettier'],rules:{'prettier/prettier':'error',}} 问题八: 项目使用了unplugin-auto-import自动导入,但是eslint会检测Cannot find name ‘ref’ 解决: 先在vite.config...
fix: add ref() and unref() to chokidar.d.ts for typescript build to work (#15706) (6b45037), closes #15706 perf: simplify explicit import mark in import analysis (#15724) (2805b2d), closes #157245.1.0-beta.5 (2024-01-27)fix...
^Error: Cannot find module'C:\Project\node_modules\vite\bin\vite.js'at Module._resolveFilename(node:internal/modules/cjs/loader:1048:15) at Module._load(node:internal/modules/cjs/loader:901:27) at Function.executeUserEntryPoint [asrunMain] (node:internal/modules/run_main:83:12) ...
{ + "version": "18.18.9", + "resolved": "https://registry.npmmirror.com/@types/node/-/node-18.18.9.tgz", + "integrity": "sha512-0f5klcuImLnG4Qreu9hPj/rEfFq6YRc5n2mAjSsH+ec/mJL+3voBH0+8T7o8RpFjH7ovc+TRsL/c7OYIQsPTfQ==", + "dev": true, + "dependencies": { + "...
You should also find a desktop with an arrow-down icon button in the browser toolbar section. Toolbar with install icon button These screens are currently blank and you cannot see the button because you are currently viewing your application in the browser while running it in dev mode. This...
value.find(item => item.passport === result.passport)) return ElMessage.warning('请不要重复添加!') // 手动关闭下拉框,避免出现两次 refAutoComplete.value.close() refAutoComplete.value.inputRef.blur() curPerson.value = result resultList.value.push(result) searchStr.value = '' isPicking.value...
node_modules/.pnpm/@progress+kendo-vue-popup@2.7.1_acc43b21ea211aeeda51cec780f114cb/node_modules/@progress/kendo-vue-popup/dist/npm/Popup.d.ts:63:72 - error TS2304: Cannot find name 'Vue'. 63 export interface PopupAll extends PopupMethods, PopupState, PopupData, Vue { ...
import { ref } from 'vue' const props = defineProps({ name:{ type:String, default:'name' } }) let count = ref<number>(0) let msg = ref<string>('hello') const handle = () => { count.value++ } 1. 2. 3. 4. 5. 6...