introduce vue.min.js
webpack.base.conf.jsexternalsvue
if import vue, removes externals and introduces cdn in main.js, it will load normally
could you tell me what"s wrong with my use?
introduce vue.min.js
webpack.base.conf.jsexternalsvue
if import vue, removes externals and introduces cdn in main.js, it will load normally
could you tell me what"s wrong with my use?
does not post the code that is not easy to evaluate;
but from the screenshot point of view, this is not a problem of introducing element, but the code is not standard. Because from the penultimate chapter diagram, we can see that the query button on the table is displayed normally.
you can try the minimum module method for debugging, which is to build a new demo, remove other references and code, and save only one < el-button > to see if it can display
normally. ps:
A good question should include a demo or code that can be viewed
check the currently used vue version, elementUI version, and vuex version through npm, and find that it is caused by inconsistency with the version referenced in index.html (Note: the version found by npm is not consistent with that in package.json). Originally, the problem of slow loading of vendor.js after build has been solved. After the introduction of index.html, the problem of loading speed has been solved
which third-party cdn is easier to use
such as the title. if only to separate stylesheets, then the plug-in ExtractTextWebpackPlugin in webpack can also solve the problem of style separation and referencing element-ui requires the introduction of all styles separately. If only one componen...
problem description VUE project. After introducing element-ui, Module parse failed: Unexpected character @ appears. the environmental background of the problems and what methods you have tried there should be no corresponding loader in the analy...