Lynx for Web implements the Lynx engine in web browsers. With Lynx for Web, you can easily integrate Lynx apps into any existing web project, regardless of whether the project uses React, Vue, Svelte, or plain HTML.
We need you to have read and created a Lynx project according to Quick Start.
environments.web) to lynx.config.ts:Run:
You will see an additional dist/main.web.bundle file in this project, which is the final web build artifact.
Now that you have a Lynx for Web build artifact, we need to create a web project to use it. Here we use Rsbuild.
Create a new project at the same level as the Lynx project above and run:
Follow the prompts to create a React project.
src/app.tsxrsbuild.config.tsserver.publicDir needs to be replaced with your actual Lynx project path.
Run:
Visit http://localhost:3000 to see your Lynx application.