Adding Pages
If your project is a multi-pages application and you want to add a new page. All you need to do is creating two new files(.tsx
and .html
) in src/pages
folder. Just make sure they share the same filename so that Rocketact can detect the new page.
├── src
│ ├── pages
│ │ ├── home.html
│ │ ├── home.tsx
│ │ ├── list.html
│ │ ├── list.tsx
│ │ ├── detail.html
│ │ ├── detail.tsx
│ │ ├── search.html
│ │ ├── search.tsx
│ │ ├── profile.tsx
│ │ └── profile.html