Using the utility vue-cli created a template application under the webpack . In the file ./src/router/index.js found the following line:

 import Hello from '@/components/Hello' 

What does @ (dog) mean in the file path?

    1 answer 1

    Look in the file build\webpack.base.conf.js , this is an alias which refers to a specific path, by default the 'path to project / src /'.

    • hmm ... given that the "@" character itself is quite legitimate for use in the file name. Or is there also a positional dependence — strictly at the beginning of the literal? - Akina
    • One hundred percent did not understand from the webpack docks, how it replaces this alias - first available / only first / all entries. If necessary, you can replace it with your own. - Eugene Kulakov