Open Soviut opened 2 years ago
For the time being, I've worked around this by changing my build script in package.json
from this
"build": "vue-tsc --noEmit && vite build",
to this
"build": "vite build",
It's not ideal but I get enough type checking from Volar in VSCode that I can live with it until vue-gtag-next targets VueRouter 4.
If you are reporting a bug, please fill in below. Otherwise feel free to remove this template entirely.
Description
Using
vue-gtag-next
with Vue 3, VueRouter 4, TypeScript and Vite. Running the Vite dev server works fine but when I do a build I get the following errors.Expected behavior
Package should not encounter type issues when building.
Actual behavior
Type issues surrounding vue-router and trackRouter occur.
Environment
Run this command in the project folder and fill in their results:
npm ls vue-gtag
:Then, specify:
Reproducible Demo
Please take the time to create a new app that reproduces the issue or at least some code example
Demonstrable issues gets fixed faster.