There was an error while loading. Please reload this page.
FireJS treats all the files in the pages dir as URL routes. A page about.js will be translated to /about.
about.js
/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.
pages dir
For Eg, in the above comparison, file index.js is a page and / is its path.
index.js
/
🏡 Home
🏁 QuickStart
🛣 Pages and Paths
📂 Dir Structure
⚛️ Components
🔌 Plugins
💻 Command Line Interface
🗒️ All examples in this documentation are written in typescript