js 导入json配置文件

import AA from './menu.json'

console.log(AA)

匹配好路径

原文地址:https://www.cnblogs.com/mengfangui/p/9195755.html