https://github.com/5t3ph/11ty-edge-demo
Tiny demo with starter concepts for 11ty Edge.
https://github.com/5t3ph/11ty-edge-demo
Last synced: over 1 year ago
JSON representation
Tiny demo with starter concepts for 11ty Edge.
- Host: GitHub
- URL: https://github.com/5t3ph/11ty-edge-demo
- Owner: 5t3ph
- Created: 2022-05-27T16:43:15.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-27T18:27:35.000Z (about 4 years ago)
- Last Synced: 2025-03-29T09:22:52.526Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://11ty-edge-stream-demo.netlify.app/
- Size: 417 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 11ty-edge-demo
> Created on stream: [5t3phDev](https://twitch.tv/5t3phDev)
## Edge Resources
- [Netlify Edge Docs](https://docs.netlify.com/netlify-labs/experimental-features/edge-functions/api/)
- [Netlify Edge Examples](https://edge-functions-examples.netlify.app/)
- [11ty Edge Examples](https://demo-eleventy-edge.netlify.app/)
- [Using NPM modules with Deno](https://deno.land/manual/node/cdns)
- [11ty Edge Search](https://github.com/11ty/eleventy-base-blog/compare/demo-edge-search)
- Demo by @BenDMyers - [Eleventy Edge Wordle](https://github.com/BenDMyers/eleventy-edge-wordle)
## Edge Tips & Gotchas
- 11ty Edge does _not_ have access to your data, filters, or collections - you will have to generate any data you want and send it to the `_generated` directory within `netlify/edge-functions`.
- See `src/_generated/meta.njk` for one example on how to share data
- If you make a change between the `{% edge %}` shortcode, you may need to restart the server.
- As of `canary-11` you cannot stack 11ty Edge functions and successfully get `globalData` from both - only the last function returns data.