Uncaught TypeError: Cannot assign to read only property 'exports' of object '

一、問題描述 項目以前正常的路由配置是這樣的:html 二、路由配置說明 第一種作法:vue 每一個頁面模塊目錄經過一個 index.js 主入口來導出(module.exports)對應的vue文件,而後 router.js 中經過 require 方法去引入資源。node 這一作法是沒毛病的,由於這是組織(webpack 2)容許的。webpack 第二種作法:git 若是好好的require
相關文章
相關標籤/搜索