Open eiinu opened 1 year ago
// page1.vue <template> <prefix-button> <prefix-card> </template> // page2.vue <template> <prefix-card> <prefix-button> </template>
// page1.js import 'button.css' import 'card.css' // page2.js import 'card.css' import 'button.css'
And then webpack plugin mini-css-extract-plugin will throw errors
mini-css-extract-plugin
[mini-css-extract-plugin] Conflicting order.
Is it possible to control the order in which components are imported in each file?
For example, import according to the string order of component names as an optional value.
No response
need reproduction
Clear and concise description of the problem
Code
Result
And then webpack plugin
mini-css-extract-plugin
will throw errorsSuggested solution
Is it possible to control the order in which components are imported in each file?
For example, import according to the string order of component names as an optional value.
Alternative
No response
Additional context
No response
Validations