search

Home  >  Q&A  >  body text

javascript - What is the path of @ in vue?

Does

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

滿天的星座滿天的星座2881 days ago544

reply all(8)I'll reply

  • 迷茫

    迷茫2017-05-19 10:18:32

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

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-19 10:18:32

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

    The resolve function is defined in the file

    reply
    0
  • PHP中文网

    PHP中文网2017-05-19 10:18:32

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

    reply
    0
  • 某草草

    某草草2017-05-19 10:18:32

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

    reply
    0
  • 黄舟

    黄舟2017-05-19 10:18:32

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

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-19 10:18:32

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

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-19 10:18:32

    It’s equivalent to the alias you gave yourself

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-19 10:18:32

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

    reply
    0
  • Cancelreply