chen-rn / CUA

(deprecateed) create-universal-app(CUA) is an opinionated template for creating fullstack universal apps (Expo, Next, tRPC, Prisma, Clerk, Solito, Tamagui)

Home Page:https://cua-demo.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[feature-request] Tauri example

timothymiller opened this issue · comments

I'm no fan of fedora wearing weirdos, but now that Tamagui Studio is a thing (that uses Tauri under the hood), it would be nice to see the desktop as yet another supported platform by create-universal-app.

commented

Oh whoa! I didn't know Studio was released, I'll have to try it out this weekend :)

Re: Desktop
The RN for Desktop library maintained by MS doesn't seem super well maintained on the mac side. But we can definitely do something like Tauri, given that it's just the react app in a webview.

I've actually never played around with Tauri, but I can look at how Tamagui studio is set up and set one up for CUA. If it's easy, we might as well have one!

A lot of exciting stuff happening here! I'm also very open to PRs if you're up for a task!

commented

Another thing that might be nice is storybook, but I'll have to play around with that as well!

@timothymiller I've implemented the basic stuff for Tauri in the nextjs folder. Now it's available in the tauri branch of the repo, please test this yourself if you can as I cannot right now, as explained in this PR.

@timothymiller have you tried it out? I forgot to tell you how to test it 😅. Just run yarn desktop in the root of the project.

Yes it works @albbus-stack. Really cool stuff! I added turbo integration to your branch.

@timothymiller I've fixed a couple of things and now it's up on the main branch! You can now build the Tauri app with yarn build-desktop. #35 #37

Dumb question, but what is Tamagui Studio ? Couldnt find it