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

@nextindex/next-scss/next-scss #31

Closed
543877815 opened this issue Apr 8, 2018 · 3 comments
Closed

@nextindex/next-scss/next-scss #31

543877815 opened this issue Apr 8, 2018 · 3 comments

Comments

@543877815
Copy link

Cannot find module 'next-scss'...

@apertureless
Copy link
Owner

Hi @543877815

Mh I can not reproduce this.
I removed my node_modules and did a clean yarn. And everything is working fine.

Can you provide more context on this?

@543877815
Copy link
Author

emmm...I just wanted to change some source code by " import Parallax from '../Parallax/Parallax' "
And I noticed your scss has " @import "~@nextindex/next-scss/next-scss"; "
Of course, it will be better if you can reproduce that.
But it doesn't matter cause I can find the style from your "/dist/static/css/app.css" ...
@apertureless

@apertureless
Copy link
Owner

Ah okay.
The next-scss package is a npm pacakge and contain only a few helpers.
Like @include media($sm-up) and the rem() and em() helpers.

So you need to npm install before. And it should grab the package.
However if you want to modify stuff, you can remove the helpers and then you don't need the package.

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