我在创建动态路由时,使用在名为"/edit“的路由上创建的反应性路由器..but,并在它之后添加了:id,以便每当我到时都可以动态访问它的值..but,它显示了这个错误。Refused to execute script from 'http://localhost:8080/edit/bundle.js' because its MIME type ('text/html
像这样的问题有几十个,但都没有帮助,因为根本原因总是我没有做的事情。我用webpack 4.26.1为浏览器做了一个包,无论我做什么,我在浏览器中打开when应用程序时都会得到Uncaught ReferenceError: require is not defined我不使用target: 'node'。我并不是明确地将任何东西排除在包裹之外。
我不使用noParse。我甚至尝试显式地设置target: