mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
854d0feb34
* Add support for React components. This adds support for react components via a new `extensions` config in astro.config.mjs. In the future we can extend this to do things like look at the import statements, as Snowpack does. * Fix the tests |
||
---|---|---|
.. | ||
astro | ||
public | ||
.gitignore | ||
.prettierrc | ||
.stylelintrc.js | ||
astro.config.mjs | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
snowpack.config.js | ||
vercel.json |
Astro Demo
Getting setup
-
Checkout Astro at: https://github.com/snowpackjs/astro
- Install and build Astro:
npm install npm run build
- Link Astro:
npm link
-
In this project link Astro and install other deps:
npm link astro
npm install
- Run the Astro dev environment.
npm run start
- Build the website. (Not yet working.)
npm run build