astro/examples/snowpack
Matthew Phillips ed85702581
Allow HMX components in markdown (#19)
* Allow HMX components in markdown

This adds support for HMX components in markdown. The mechanism for importing is via frontmatter. We could do this differently (setup script maybe?) but since this was the easiest to implement I thought it was a good first-pass option.

* Remove node-fetch from snowpack config

* Assert that the runtime is created successfully

* Add back in the micromark extension for encoding entities

* Encode both codeTextData and codeFlowValue

* Install snowpack app's deps
2021-03-23 15:20:03 -04:00
..
astro Use <style lang>, add node_module resolution to Sass 2021-03-23 13:18:14 -06:00
public [wip] Add styles to Snowpack app (#13) 2021-03-22 18:06:58 -06:00
.gitignore Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00
.prettierrc Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00
.stylelintrc.js Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00
astro.config.mjs Add support for React components. (#18) 2021-03-23 13:47:54 -04:00
LICENSE Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00
package-lock.json Use <style lang>, add node_module resolution to Sass 2021-03-23 13:18:14 -06:00
package.json Use <style lang>, add node_module resolution to Sass 2021-03-23 13:18:14 -06:00
README.md Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00
snowpack.config.js Allow HMX components in markdown (#19) 2021-03-23 15:20:03 -04:00
vercel.json Add snowpack as an example project. (#11) 2021-03-19 17:17:38 -04:00

Astro Demo

Getting setup

  1. Checkout 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