boolean
false
This option is used for custom Modern.js entries. When this option is enabled, Modern.js will try to use the src/entry.[jt]sx
file and src/entry.server.[jt]sx
as the project's entry point.
First, enable this option in the configuration file:
Create the src/entry.tsx
file:
For more browser entry details, refer to Entries.
create src/entry.server.tsx
file,add custom behavior for rendering responses: