He guys. Could you please help me?
TypeError: Cannot read property 'appContext' of null
at Proxy.useServerAPI (***\node_modules\fastify-vite-vue\client.js:47:41)
As a workaround I have to use try catch for useServerAPI method, but my page does not get data from SSR.
"dependencies": {
"@mgcrea/fastify-session": "^0.14.1",
"@mgcrea/fastify-session-redis-store": "^0.9.1",
"@popperjs/core": "^2.9.2",
"@vueuse/head": "^0.6.0",
"async": "^3.2.0",
"awilix": "^4.3.4",
"bootstrap-icons": "^1.5.0",
"fastify": "^3.18.0",
"fastify-api": "^0.2.0",
"fastify-awilix": "^1.1.0",
"fastify-config-loader": "^1.1.2",
"fastify-cookie": "^5.3.1",
"fastify-plugin": "^3.0.0",
"fastify-sensible": "^3.1.1",
"fastify-static": "^4.2.2",
"fastify-vite": "^2.2.0-beta.2",
"fastify-vite-vue": "^2.2.0-beta.2",
"ioredis": "^4.27.6",
"ipaddr.js": "^2.0.1",
"vite": "^2.3.8",
"vue": "^3.1.2",
"vue-router": "^4.0.10"
},
"devDependencies": {
"@vitejs/plugin-vue": "^1.2.3",
"@vue/compiler-sfc": "^3.1.2",
"bootstrap": "^5.0.2",
"cross-env": "^7.0.3",
"eslint": "^7.29.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-vue": "^7.11.1",
"sass": "^1.35.1"
}