You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have error Failed to compile when use import '@splidejs/vue-splide/css/core'; in component or in scss @import '@splidejs/vue-splide/css/core';
Now I use path.resolve(__dirname, './node_modules/@splidejs/vue-splide/dist/css/splide-core.min.css')
in vue.config.js (in style-resources-loader) but I think, it not good practice. How I can import core to my vue3 project?
Reproduction Link
No response
Steps to Reproduce
Create vue project
Install vue-splide
Create component .vue and add import '@splidejs/vue-splide/css/core'; in block <script> or add @import in my main scss file.
Expected Behaviour
importing core css file.
The text was updated successfully, but these errors were encountered:
Checks
Version
0.6.12
Description
I have error Failed to compile when use
import '@splidejs/vue-splide/css/core';
in component or in scss @import '@splidejs/vue-splide/css/core';Now I use
path.resolve(__dirname, './node_modules/@splidejs/vue-splide/dist/css/splide-core.min.css')
in vue.config.js (in style-resources-loader) but I think, it not good practice. How I can import
core
to my vue3 project?Reproduction Link
No response
Steps to Reproduce
import '@splidejs/vue-splide/css/core';
in block<script>
or add @import in my main scss file.Expected Behaviour
importing core css file.
The text was updated successfully, but these errors were encountered: