apache / incubator-weex

Apache Weex (Incubating)
https://weex.apache.org
Apache License 2.0
13.75k stars 1.82k forks source link

[Dev-tool] Page rendering failed #3295

Open krimeshu opened 3 years ago

krimeshu commented 3 years ago

Describe the bug

Page rendering failed, root dom doesn't show any style and child components.

To Reproduce

Create weex project, update webpack to v4, update webpack-dev-server and webpack-cli, replace css processing plugin to mini-css-extract-plugin and update vue-loader.

Update postTransformNode config from compilerModules to compilerOptions.modules.

Start webpack-dev-server, every thing is OK, no error but page rendering failed.

Did not try render in weex native mode yet.

It seems something wrong happend when weex-vue-render rendering the page.

Environment

Browser.

Expected behavior

Show the page content.

Additional context

Is weex not planning to be updated any more?

Webpack has released v5, but weex will not update webpack forever?

That could causing a lot of security problems!

cnryb commented 3 years ago

Can you put the problematic project on GitHub? It is not easy to reproduce the problem according to the information you provided.

krimeshu commented 3 years ago

Sorry, busy on some other work recently, may be later to create a problematic project for this problem.