A new Halite project from the wizard includes a few folders and files by default.
├── public/
│ └── favicon.svg
├── src/
│ ├── components/
│ │ └── Card.hal
│ ├── layouts/
│ │ └── Base.hal
│ └── pages/
│ └── index.hal
├── halite.config.mjs
├── package.json
└── tsconfig.jsonDirectories
Folder | Holds |
|---|---|
| Your project source |
| Routes — every file is a page |
| Reusable units of HTML |
| Files copied untouched into the build |
src/pages is the only directory Halite treats specially. Organise the rest however you like.