0

I am using inertia-vue with Laravel, and the problem is that when I write an HTML tag inside the .vue files, no auto-complete work. Although I downloaded some extensions like vetur, vue 3 snippets, and vue-helper.

and this notification occurs to me

Vetur can't find tsconfig.json or jsconfig.json

So what can I do?

NOTE: auto-complete works in .blade.php files.

1 Answer 1

0

create a file called 'tsconfig.json' inside the folder of your project and put this code inside:

{"compilerOptions": {"module": "commonjs",  "allowJs": true  },  "exclude": [   "node_modules"  ]}

Now vetur will find the file.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.