Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make example app interactive #1

Open
YoavCodes opened this issue Feb 29, 2024 · 2 comments
Open

Make example app interactive #1

YoavCodes opened this issue Feb 29, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@YoavCodes
Copy link
Member

The example app should be interactive with a sidebar that lets users explore all the Electrobun features and then jump into the code to see how it works. It would also function as a smoketest/QA tool when iterating on new features

@YoavCodes YoavCodes added the enhancement New feature or request label Feb 29, 2024
@YoavCodes YoavCodes self-assigned this Mar 7, 2024
@mattgi
Copy link

mattgi commented Oct 18, 2024

It'd be great to showcase the dev experience more too. For example, using the following script example:

  "scripts": {
    "build:dev": "electrobun build",
    "start:dev": "electrobun dev",
    "dev": "bun install && npm run build:dev && npm run start:dev",
    "build:canary": "electrobun build env=canary",
    "build:stable": "electrobun build env=stable"
  }

I was hoping that by running bun dev it would "Facilitate the project running in a development environment with live reloading, providing real-time feedback during development phases.". However I believe i still had to restart after making a change to src/bun/index.ts (e.g. changing from google.com to bing.com in the hello world example).

@mattgi
Copy link

mattgi commented Oct 18, 2024

Also an example that uses a framework like Solid or React would be awesome, including Tailwind - curious if vite needs to be running in some manner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants