R
R
Renhor2019-06-07 01:29:56
phpstorm
Renhor, 2019-06-07 01:29:56

PHP Storm is complaining about the path to the static folder in the Nuxt.js project. How to fix?

The bottom line is that to get the path to any other folder in Nuxt, you need to write ~/assets/folder1/file. ( Resolved here )
To the static folder it is enough to write /folder1/file
PHP storm however does not perceive it, and only prompts if the path starts ~/static/folder1/file
How to teach him how to deal with this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question