Open nagylzs opened 4 months ago
Stumbled across this while investigating errors in resolving the plugins module when scaffolding a new project with vue-create@2.2.3
The updates to the include section which @nagylzs mentioned also fixed my resolution errors. Last time I created a project with create-vuetify was with version 1.1.1. Back then these values where still present in the include setion. What happened?
Environment:
UPDATE: Just realized that adding
"./src/**/*.ts",
"./src/**/*.d.ts",
"./src/**/*.vue"
to the include list results in the following error inside the tsconfig.json
Cannot find type definition file for 'unplugin-vue-router/client'.
The file is in the program because:
Entry point of type library 'unplugin-vue-router/client' specified in compilerOptionsts
Cannot find type definition file for 'vite-plugin-vue-layouts/client'.
The file is in the program because:
Entry point of type library 'vite-plugin-vue-layouts/client' specified in compilerOptions
Please see the video below. <v- tags are no recognized, autocompletete does not work by default. However, if I use the full class name then autocomplete works for any component, and after that it also works for <v- tags.
It is very easy to reproduce, just create a new vuetify typescript project
yarn create vuetify
then open it in vscode (with vue official plugin installed).Version: 1.90.0 Commit: 6319a0b6210a13408ab1ef44be93444143942ea8 Date: 2024-05-03T07:47:29.201Z Electron: 28.3.1 ElectronBuildId: undefined Chromium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19-electron.0 OS: Linux x64 6.6.30-2-MANJARO Vue plugin version 2.0.17
https://github.com/vuetifyjs/create/assets/15814836/8a673d54-30db-4dd1-be83-dc0b6fda501b
If I add this to tsconfig:
then it works.
(This was originally posted here: https://github.com/vuejs/language-tools/issues/4421 )