vue import Layout from '@/layout' @用法

vue.config.js文件
configureWebpack: { // provide the app's title in webpack's name field, so that // it can be accessed in index.html to inject the correct title. name: name, resolve: { alias: { '@': resolve('src') } } },

  

原文地址:https://www.cnblogs.com/zhanglanzuopin/p/15747805.html