0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/examples/toolbar-app
Chris Swithinbank 3a144b1a69
Update examples for v5 (#12588)
* Revert "chore: downgrade examples to not use beta releases (#12557)"

This reverts commit 6031962ab5.

* Update blog template for new content collections

* Update portfolio template for new content collections

* Update starlog template for new content collections
2024-12-03 11:00:43 +01:00
..
.codesandbox feat(toolbar): Toolbar API improvements (#10665) 2024-04-24 17:56:12 +02:00
src feat(toolbar): Toolbar API improvements (#10665) 2024-04-24 17:56:12 +02:00
.gitignore feat(toolbar): Toolbar API improvements (#10665) 2024-04-24 17:56:12 +02:00
package.json Update examples for v5 (#12588) 2024-12-03 11:00:43 +01:00
README.md [ci] format 2024-04-24 15:57:16 +00:00
tsconfig.json create-astro updates (#12083) 2024-11-04 16:15:11 +01:00

Astro Starter Kit: Toolbar App

npm create astro@latest -- --template toolbar-app

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

🧑‍🚀 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.