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

Im having an issue importing other styles #38

Open
peacheszm opened this issue Oct 2, 2023 · 1 comment
Open

Im having an issue importing other styles #38

peacheszm opened this issue Oct 2, 2023 · 1 comment

Comments

@peacheszm
Copy link

Im trying to import other styles from node modules, ie Swiper css, maybe im doing it wrong?
@import '~swiper/swiper-bundle.min.css';

@ixkaito
Copy link
Owner

ixkaito commented Oct 20, 2023

@peacheszm Sorry for the late reply.

You can load other stylesheets in Sass files by @use.

For example: src/sass/main.scss

@charset "UTF-8";

@use '../../node_modules/swiper/swiper-bundle.min.css';
@use 'foundation';
@use 'layouts';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants