javascript - What is the path of @ in vue?
滿天的星座
滿天的星座 2017-05-19 10:16:32
0
8
477
Does

refer to the project root directory, or the src directory?

滿天的星座
滿天的星座

reply all(8)
迷茫

Look at the definition yourself. If you use vue-cli, it is defined here

滿天的星座

alias in webpack.base.conf.js in the build folder

The resolve function is defined in the file

Ty80

This is the path of webpack configuration. I remember someone asked this question before, I suggest you search it

某草草

This is built-in with vue, it means src, don’t worry about it. Just know it

黄舟

It is recommended to take a look at the official documentation of webpack and the alias path alias in resolve

曾经蜡笔没有小新

Generally, you can find out by using global search, resolve refers to the path alias

过去多啦不再A梦

It’s equivalent to the alias you gave yourself

滿天的星座

But webstorm cannot be found during path search. How to configure this?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!