-
-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Brisa is more than a framework. It is also designed so that Web Components library developers can easily write with JSX and signals and compile it to generate 2 files:
- web-component.client.js: It can be loaded with Vanillajs or any framework.
- web-component.server.js: You can load it with Node.js or Bun to SSR the web component easily and adapt it to any framework, without needing JSX-runtime.
Proposal:
brisa build --web-component path/to/web-component.tsx
Also possible without installing brisa (using bunx
):
bunx brisa build --web-component path/to/web-component.tsx
For more than one web component:
brisa build --web-component path/to/web-component.tsx --web-component path/to/web-component2.tsx
Besides, also the integration with Brisa of these files has to be easy to consume external libraries of Web Components, supporting:
- SSR
- Types
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request