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

SolidJS official support #782

Closed
cetorres opened this issue Jul 18, 2022 · 12 comments
Closed

SolidJS official support #782

cetorres opened this issue Jul 18, 2022 · 12 comments
Labels
enhancement New feature or request

Comments

@cetorres
Copy link

What is the problem this feature will solve?

Currently bun create has no official support for SolidJS apps creation.

What is the feature you are proposing to solve the problem?

Add bun create solidjs myApp option.

What alternatives have you considered?

No response

@cetorres cetorres added the enhancement New feature or request label Jul 18, 2022
@greatbody
Copy link

I understand that the developers of bun is busy working on bun itself, and the community can help with the create command.

PR's are welcome.

@KevinBLT
Copy link

I need that too. When I tried it, bun pointed out that "import" is unknown in some react-js file?

@reviewher
Copy link

Issue should be raised with the SolidJS project. Their docs are missing a complete server-side example from scratch

@ajcwebdev
Copy link

Now that SolidStart is in beta and the Oven blog post explicitly calls the project out as something that will be supported, might be time to ping @ryansolid, @davedbase, and @nksaraf to see what a proof-of-concept would look like for Bun + SolidJS.

@ThatOneBro
Copy link
Contributor

Hey @ajcwebdev ! I don't know if you saw, but last month we got a proof of concept going: https://twitter.com/ThatOneBrah/status/1610936171164733441?t=eVFof0mNbXjduU14hK7Ywg&s=19

There are still a few things missing to get SolidStart fully working, but we are working on them now and should hopefully have full support for SolidStart and other meta-frameworks very soon

@maacpiash
Copy link

Hi @ThatOneBro, can I please get the project template?

@ThatOneBro
Copy link
Contributor

ThatOneBro commented May 29, 2023

Hi @ThatOneBro, can I please get the project template?

Hi @maacpiash , I was originally going to publish this but I recently learned that SolidStart will be moving to using Astro under the hood soon (which means this adapter could be theoretically replaced by an Astro Bun adapter). That being said I just published the adapter I created (https://github.com/ThatOneBro/solid-start-bun) if you want to try it out. Let me know if you run into any trouble.

Just note that this will likely be obsolete in the near-ish future

@birkskyum
Copy link
Collaborator

Related to

@apatrida
Copy link

@ThatOneBro SolidStart is not moving to Astro, it is using Vinxi over Nitro (see the Vinxi branch in the solid start repo)

@birkskyum
Copy link
Collaborator

It's an old comment, and it was the plan at the time

@birkskyum
Copy link
Collaborator

birkskyum commented Oct 18, 2023

Bun works well with the official solid starter guide:

npm create vite@latest my-app -- --template solid-ts
bun create vite@latest my-app --template solid-ts

The inconsistency with the dashes got it's own ticket:

@DaniGuardiola
Copy link

FYI I built a plugin to compile Solid.js using Bun.build - https://github.com/DaniGuardiola/bun-plugin-solid

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

10 participants