0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/examples/snowpack
Nate Moore a136c85e6b
New Props API (#515)
* wip: update props api

* feat(#139, #309): enable new props api

* chore: migrate examples to new props API

* docs: update syntax guide for new props API

* chore: update examples to new props API

* chore: update docs to new Props API

* fix: hide __astroInternal from `Astro.props` consumers

* chore: remove scratchpad file

* chore: fix script error

* test: fix failing collection tests

* fix: set __astroInternal to `enumerable: false`

* chore: add changeset

* feat: warn users using old props api
2021-06-24 17:48:24 -05:00
..
public Improve Snowpack docs styling (#180) 2021-05-07 10:38:38 -06:00
src New Props API (#515) 2021-06-24 17:48:24 -05:00
.gitignore Update defaults directory structure to src and dist (#132) 2021-04-26 15:54:20 -06:00
.npmrc force pnpm to hoist packages inside astro #342 #190 (#530) 2021-06-24 09:48:25 -04:00
.prettierrc Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00
astro.config.mjs Pre-release refactors (#289) 2021-06-02 11:35:28 -05:00
LICENSE Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00
package.json Version Packages (#517) 2021-06-23 16:37:48 -04:00
README.md Format (#167) 2021-05-03 12:26:10 -06:00
vercel.json Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00

Astro Demo

Getting set up

  1. Check out Astro at: https://github.com/snowpackjs/astro

    1. Install and build Astro:
    npm install
    npm run build
    
    1. Link Astro:
    npm link
    
  2. In this project link Astro and install other deps:

npm link astro
npm install
  1. Run the Astro dev environment.
npm run start
  1. Build the website. (Not yet working.)
npm run build