/static-react-example

Primary LanguageJavaScriptMIT LicenseMIT

Getting Started

This example is built with React to demonstrate the use and configuration of Layer0 serving a client-side-rendered application. We utilize the caching and speed optimizations provided by Layer0 to serve static resources that are rendered on the client.

To get started with this example, run:

npm i
npm run layer0:start

and navigate to http://127.0.0.1:3000 with your browser to see the result.

To view this example live, visit https://layer0-docs-static-react-example-default.moovweb-edge.io/.

Deploy on Layer0

For more information on deploying to Layer0, visit https://docs.layer0.co/guides/deploying