A
A
Arthur2018-03-19 20:54:35
React
Arthur, 2018-03-19 20:54:35

Which css option is better for React(Next js)?

Good afternoon, I'm learning Ract (Next JS), I found so many options for connecting css that it's not clear which one is better, I like this option

<Head>
     <link rel="stylesheet" href="/static/css/style.css" />
</Head>

I like to use sass and with this option I not only get the global css, but I can also write in sass and give the finished css to Next js at the end.
Need the opinion of experts familiar with Next js, why is this option bad? And what options do you recommend?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
ze7, 2018-03-19
@ART_CORP

In their repository, in the examples folder, there is an example of using sass:
https://github.com/zeit/next.js/tree/canary/exampl...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question