S
S
sergemin2017-09-20 18:06:12
JavaScript
sergemin, 2017-09-20 18:06:12

Can you show how to compile the project correctly?

I can't google because I can't clearly articulate what I want. So I’m learning React now, and so far I’m vaguely imagining everything, meaning the structure of the project.
How files should be stored, how everything is broken down into components
How everything is put into separate folders
How sass files are compiled and how css is distributed
What does it mean when they write an underscore in the name of css files
... (a thousand more similar questions)
I would just look at examples with explanations. To learn how to properly structure the code right away
Those who want to troll me for stupid questions, and not answer the case, please refrain.
Thank you for your attention!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Aleksei Podgaev, 2017-09-28
@alexiusp

1 - find some boilerplate, starter or seed app on github, see how everything is done there, figure it out
2 - google best practices for both the react structure and sass / scss

N
Nikita Kit, 2017-10-09
@ShadowOfCasper

yeoman.io - initialize generators and read their manuals. You will discover a lot for yourself.
And regarding the division into components - here is a good example from my turnip. You can disassemble the build configs - they are in the gulp directory a couple of folders higher

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question