dongnaebi / xiazhou-weex

a demo for weex project
Apache License 2.0
48 stars 15 forks source link

拉取后,按照您的步骤进行后,出现报错 #1

Closed coffeeDanny closed 7 years ago

coffeeDanny commented 7 years ago

http://localhost:8080/ 通过git clone 以及npm install 再通过npm run build 构建,npm run serve 启动,后,页面出现报错信息,并且页面无任何显示,以下为报错信息: localhost/:12 GET http://localhost:8080/dist/weex.bundle.js vue.js:7172 You are running Vue in development mode. Make sure to turn on production mode when deploying for production. See more tips at https://vuejs.org/guide/deployment.html localhost/:12 GET http://localhost:8080/dist/weex.bundle.js app.js:3202 Uncaught ReferenceError: weex is not defined at Object. (app.js:3202) at webpack_require (app.js:48) at Object. (app.js:3008) at webpack_require (app.js:48) at Object. (app.js:2512) at webpack_require (app.js:48) at Object. (app.js:2480) at webpack_require (app.js:48) at Object. (app.js:104) at __webpack_require__ (app.js:48)