mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
9876163406
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
.codesandbox | ||
src | ||
.gitignore | ||
package.json | ||
README.md | ||
tsconfig.json |
Astro Starter Kit: Toolbar App
npm create astro@latest -- --template toolbar-app
🧑🚀 Seasoned astronaut? Delete this file. Have fun!
🚀 Project Structure
Inside of your Astro project, you'll see the following folders and files:
/
├── app.ts
├── integration.ts
└── package.json
The logic of your app is in the appropriately named app.ts
file. This is where the vast majority of your toolbar app logic will live.
The integration.ts
file is a simple Astro integration file that will be used to add your app into the toolbar.
🧞 Commands
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
npm install |
Installs dependencies |
npm run dev |
Watch for changes and build your app automatically |
npm run build |
Build your app to ./dist/ |
👀 Want to learn more?
Feel free to check our documentation or jump into our Discord server.