Project structure
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.halyour home page
- halite.config.mjs
- package.json
- tsconfig.json
Directories
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.
Updated