I
I
Ivan Ivanovich2020-08-20 11:48:50
Building projects
Ivan Ivanovich, 2020-08-20 11:48:50

How to work with multiple pages?

Hello. Superficially studied webpack and parcel. While stopped at the second.

For some reason, it is difficult to find information on how to work not with one file, but for example with two, so I want to ask here how can I form a structure for a project, where there will be, for example, 2 index and about files? I understand that each of them will be an entry point? Something like src/pages/index... src/pages/about... probably.

Briefly: please tell me how to create a structure for working not with one file, but with several for the project assembler.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
cython, 2020-08-20
@IwanQ

Import the second file, in the file that is the entry point

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question