Typescript, bootstrap scss module combo in next js 9+ #17311
Unanswered
kennethnwc
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to use scss module and typescript together. In this way , I can do something like
import { btn, btnPrimary } from "./index.scss";
using tools typed-scss-modules to give me a nice auto complete to get the classes I want.Previously, I am able to do this kind of feature using "@zeit/next-sass.
Since the next js 9+ is coming and it suggests to remove "@zeit/next-sass. I am not able to make it work.
I would like to ask you advice. How to implement this in latest version of next js.
Goals : get rid of @zeit/next-sass and can import bootstrap scss into my own scss.
can import bootstrap classes in anywhere and create own scss for componenet
The previous version is on here
New version with error on here
or you may read this to know why I want this kind of feature.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions