Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to compile when import css/core. #85

Open
2 tasks done
captain-zsa opened this issue Mar 21, 2023 · 0 comments
Open
2 tasks done

Failed to compile when import css/core. #85

captain-zsa opened this issue Mar 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@captain-zsa
Copy link

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

  1. Create vue project
  2. Install vue-splide
  3. 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.

@captain-zsa captain-zsa added the bug Something isn't working label Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant