Add vue to peerDependencies of @vuetify/loader-shared And, add upath to dependencies of vite-plugin-vuetify and webpack-plugin-vuetify (or export upath from @vuetify/loader-shared) SegaraRai changed the title "Cannot find module 'upath'" / "Cannot find module 'vue'" error with pnpm [next]...
credit: https://stackoverflow.com/questions/54839057/vscode-showing-cannot-find-module-ts-error-for-vue-import-while-compiling-doe @Danielg212 thank u. resolve in my webstorm When I have a shim file and still report an error in my vite project tsconfig.json "paths": { + "@/*": ["sr...
看起来像@babel/preset-env包丢失。jest需要这个包来编译代码。
看起来像@babel/preset-env包丢失。jest需要这个包来编译代码。
HOST config (vite) federation({name:'freshebt_vue',remotes:{freshcard_app:{external:`${process.env.URL}/remoteEntry.js`,format:'var',from:'webpack',},},shared:['vue','vuetify'],}), REMOTE config (webpack) config.plugin('module-federation').use(ModuleFederationPlugin,[{name:'freshcar...
"@vitejs/plugin-vue": "^4.2.1", "@vue/eslint-config-typescript": "^11.0.3", "@vue/tsconfig": "^0.3.2", "eslint": "^8.39.0", "eslint-plugin-vue": "^9.11.0", "npm-run-all": "^4.1.5", "typescript": "~5.0.4", "vite": "^4.3.3", "vite-plugin-vuetify": "^1.0...
"^6.0.1", "@nuxtjs/eslint-module": "^3.0.2", "@nuxtjs/vuetify": "^1.12.1", "eslint": "^7.29.0", "eslint-plugin-nuxt": "^2.0.0", "eslint-plugin-vue": "^7.12.1", "node-sass": "^7.0.1", "nuxt-vite": "^0.2.4", "sass": "^1.54.5", "sass-loader": "^10.3...
My wholevite.config.ts(with Vuetify): import{defineConfig}from'vite'importvuefrom'@vitejs/plugin-vue'import{fileURLToPath}from'url'importvuetifyfrom'vite-plugin-vuetify'// https://vitejs.dev/config/exportdefaultdefineConfig({...(process.env.NODE_ENV==='development'?{define:{global:{},},}...