This repository has been archived by the owner on Jul 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Pages and Paths
Aniket Prajapati edited this page Jun 12, 2020
·
1 revision
FireJS treats all the files in the pages dir as URL routes. A page about.js
will be translated to /about
.
The following comparison will help you understand better.
└─── pages
| - index.js /
| - about.js /about
| └─── contact
| - index.js /contact
| - facebook.js /contact/facebook
From now we will refer each file in the pages dir
as a page, and its corresponding URL as its path.
For Eg, in the above comparison, file index.js
is a page and /
is its path.
Star us on github or checkout our npmjs page.
🏡 Home
Getting Started
-
⚛️ Components
Advance
🗒️ All examples in this documentation are written in typescript