VickScarlet / lifeRestart

やり直すんだ。そして、次はうまくやる。
https://liferestart.syaro.io
MIT License
10.13k stars 2.33k forks source link

无法正常加载页面 #251

Open ASLoveY opened 3 years ago

ASLoveY commented 3 years ago

Uncaught (in promise) ReferenceError: $ is not defined at App.initPages (webpack-internal:///3785:2504) at App._callee$ (webpack-internal:///3785:2454) at tryCatch (webpack-internal:///5666:63) at Generator.invoke [as _invoke] (webpack-internal:///5666:294) at Generator.eval [as next] (webpack-internal:///5666:119) at app_asyncGeneratorStep (webpack-internal:///3785:2310) at _next (webpack-internal:///3785:2312) at eval (webpack-internal:///3785:2312) at new Promise () at App.eval (webpack-internal:///3785:2312)

ASLoveY commented 3 years ago

屏幕截图 2021-09-10 174212

KelienAAAA commented 3 years ago

我也遇到这个问题了,webpack.config.cjs里面加上 { directory: path.join(__dirname, 'lib'), publicPath: '/lib', },