We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vetur: Restart VLS
The following code in a fresh Vuetify project shows a red squiggly and Vetur error 2307.
<v-img :src="require('../assets/logo.svg')" class="my-3" contain height="200" />
vue create frontend
cd frontend; vue add vuetify
vetur.config.js
// vetur.config.js /** @type {import('vls').VeturConfig} */ module.exports = { // **optional** default: `{}` // override vscode settings // Notice: It only affects the settings used by Vetur. settings: { "vetur.useWorkspaceDependencies": true, "vetur.experimental.templateInterpolationService": true }, // **optional** default: `[{ root: './' }]` // support monorepos projects: ['./frontend'] }
Screenshot of error attached
The text was updated successfully, but these errors were encountered:
You only need a svg.d.ts file in src folder.
svg.d.ts
src
declare module '*.svg';
Sorry, something went wrong.
No branches or pull requests
Vetur: Restart VLS
Info
Problem
The following code in a fresh Vuetify project shows a red squiggly and Vetur error 2307.
Reproducible Case
vue create frontend
cd frontend; vue add vuetify
and select default install.vetur.config.js
to root of vscode directory containing the following and restart the VLSScreenshot of error attached
The text was updated successfully, but these errors were encountered: