Vue.js + Webpack multiple style tas output
问题 I have several vue.js components, written in single page component format. For each .vue file, I have less written specific for that page. After bundling, I have several style tags, which populate the global style space. Thus, some of my classes are overlapping on different pages. Is this the intended functionality with vue.js and webpack? 回答1: This is the default behaviour for vue-loader (which is the main plugin in the vue-webpack template). However, if you want to you can extract all CSS