1
我正在按照本教程做一個應用程序與Framework7-Vue。 http://blog.toast38coza.me/building-a-mobile-app-with-vuejs-cordova-webpack-and-framework-7/不能分配給只讀屬性'原型'功能'類Template7
由於某些原因,一旦我複製了所有代碼並安裝了所有代碼,我就看到一個空白屏幕。在編譯期間我沒有遇到任何錯誤。一旦應用程序在控制檯
Uncaught TypeError: Cannot assign to read only property 'prototype' of function 'class Template7 {
constructor(template) {
const t = this;
t.template = template;
function getCom...<omitted>...
}'
at Object.eval (webpack-internal:///29:381)
at eval (webpack-internal:///29:557)
at Object.<anonymous> (app.js:879)
at __webpack_require__ (app.js:660)
at fn (app.js:86)
at eval (webpack-internal:///21:1)
at Object.<anonymous> (app.js:826)
at __webpack_require__ (app.js:660)
at fn (app.js:86)
at eval (webpack-internal:///10:3)
任何想法可能是造成這個運行出現以下錯誤?