Use the new tsconfig.json and tsconfig.node.json files for the essentials template to ensure the support for type declare built by unplugin-vue-router. docs
Use @vitejs/plugin-vue-jsx, @vue/tsconfig and set extension option for VueRouter in vite.config.mts to fully support TSX files.
tsconfig.json
andtsconfig.node.json
files for theessentials
template to ensure the support for type declare built byunplugin-vue-router
. docs@vitejs/plugin-vue-jsx
,@vue/tsconfig
and setextension
option for VueRouter invite.config.mts
to fully support TSX files.