Uncaught ReferenceError: defineComponent is not defined
{
// ...
"engines": {
"node": ">=14"
},
"scripts": {
"bi": "bi --pm pnpm",
"fetch": "node ./scripts/fetch-metadata",
"gen": "node ./scripts/generate-entities",
"dev": "vite-ssr --port 3333 --open",
"dev:spa": "vite --port 3333 --open",
"clean": "rm -rf dist; rm -rf api/renderer",
"build": "pnpm clean; cross-env NODE_ENV=production vite-ssr build; ./scripts/move-dist.sh",
"preview": "vc dev"
},
"dependencies": {
"@apollo/client": "^3.3.16",
"@replygirl/tc": "^3.0.0",
"@vue/reactivity": "^3.0.11",
"@vue/server-renderer": "^3.0.11",
"@vueuse/core": "^4.9.1",
"@vueuse/head": "^0.5.1",
"axios": "^0.21.1",
"breeze-client": "^2.1.1",
"element-plus": "^1.0.2-beta.41",
"hash-sum": "^2.0.0",
"node-fetch": "^2.6.1",
"nprogress": "^0.2.0",
"pluralize": "^8.0.0",
"prism-theme-vars": "^0.2.2",
"querystring": "^0.2.1",
"vite-ssr": "^0.8.0",
"vue": "^3.0.11",
"vue-i18n": "^9.1.6",
"vue-router": "^4.0.6",
"vue3-google-map": "^0.7.6"
},
"devDependencies": {
"@antfu/eslint-config": "^0.6.4",
"@iconify/json": "^1.1.337",
"@intlify/vite-plugin-vue-i18n": "^2.1.2",
"@replygirl/curse": "^3.0.0-beta.0",
"@rollup/plugin-graphql": "^1.0.0",
"@types/axios": "^0.14.0",
"@types/btoa": "^1.2.3",
"@types/dotenv-flow": "^3.1.0",
"@types/eslint": "^7.2.10",
"@types/eslint-config-prettier": "^6.11.0",
"@types/eslint-plugin-prettier": "^3.1.0",
"@types/hash-sum": "^1.0.0",
"@types/node": "^14.14.43",
"@types/node-fetch": "^2.5.10",
"@types/nprogress": "^0.2.0",
"@types/pluralize": "^0.0.29",
"@types/prettier": "^2.2.3",
"@types/pug": "^2.0.4",
"@types/rimraf": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@vercel/node": "^1.10.0",
"@vitejs/plugin-vue": "^1.2.2",
"@vue/compiler-sfc": "^3.0.11",
"better-install": "^0.1.0",
"breeze-entity-generator": "^1.0.0",
"btoa": "^1.2.1",
"cross-env": "^7.0.3",
"dotenv-flow": "^3.2.0",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"markdown-it-prism": "^2.1.6",
"pnpm": "^5.18.9",
"prettier": "2.2.1",
"pug": "^3.0.2",
"rimraf": "^3.0.2",
"ts-node": "^9.1.1",
"type-fest": "^1.0.2",
"typescript": "^4.2.4",
"vite": "^2.2.3",
"vite-plugin-components": "^0.8.4",
"vite-plugin-icons": "^0.5.0",
"vite-plugin-md": "^0.6.3",
"vite-plugin-pages": "^0.10.0",
"vite-plugin-pwa": "^0.7.3",
"vite-plugin-vue-layouts": "^0.2.2",
"vite-plugin-windicss": "^0.14.6",
"vite-ssg": "^0.9.3"
},
// ...
}