Files
github-actions[bot] 754705423f Version Packages
2023-06-27 17:49:38 +02:00
..
2022-07-30 17:16:31 +02:00
2022-10-28 15:45:00 +02:00
2023-06-27 17:49:38 +02:00

Rocket Starter Kit: Minimal

npx @rocket/create@latest --template 01-hydration-starter

🧑‍🚀 Seasoned astronaut? Delete this file. Have fun!

🚀 Project Structure

Inside of your Rocket project, you'll see the following folders and files:

.
├── config
│   └── rocket.config.js
├── site
│   ├── pages
│   │   └── index.rocket.html
│   └── public
│       └── favicon.ico
└── package.json

Rocket looks for .rocket.md or .rocket.js or .rocket.html files in the site/pages directory. Each page is exposed as a route based on its file name.

There's nothing special about site/src/components/, but that's where we like to put our web components.

Any static assets, that is not referenced via HTML but you still want to be on the web server we can place in the site/public/ directory.

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
npm install Installs dependencies
npm run start Starts local dev server at localhost:8000
npm run build Build your production site to ./_site/
npm run preview Preview your build locally, before deploying

👀 Want to learn more?

Feel free to check our documentation or jump into our Discord server.