The web framework that scales with you — Build fast content sites, powerful web applications, dynamic server APIs, and everything in-between ⭐️ Star to support our work!
3ddd3594f0
* Absorb Snowpack config inside Astro * Add basic README * Format tests * Update esbuild * Format tests |
||
---|---|---|
.github/workflows | ||
.vscode | ||
examples/snowpack | ||
src | ||
test | ||
vscode | ||
.eslintrc.cjs | ||
.gitignore | ||
.prettierrc.json | ||
astro.mjs | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
snowpack-plugin.cjs | ||
tsconfig.json |
👩🚀 Astro
A next-generation static-site generator with partial hydration. Use your favorite JS framework and ship bare-minimum JS (or none at all!).
🔧 Setup
npm install astro
TODO: astro boilerplate
🧞 Development
Add a dev
npm script to your /package.json
file:
{
"scripts": {
"dev": "astro dev ."
}
}
Then run:
npm run dev
🚀 Build & Deployment
Add a build
npm script to your /package.json
file:
{
"scripts": {
"dev": "astro dev .",
"build": "astro build ."
}
}
Then run:
npm run build
Now upload the contents of /_site_
to your favorite static site host.