mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
d5b15a3851
* Support for custom elements Now you can use custom elements like so in Astro components: ```html <script type="module" src="./datepicker.js"> <date-picker></date-picker> ``` These will be resolve relative to the current astro component. In the build these modules are run through the same bundle/minify process as components. * Remove component from public * Formatting * Disable empty fn rule |
||
---|---|---|
.. | ||
astro | ||
public | ||
.gitignore | ||
.prettierrc | ||
.stylelintrc.js | ||
astro.config.mjs | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
README.md | ||
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