Turns out that with the release of create-tauri-app 3.0.0 you can no longer choose Next.js as a javascript framework for tauri. You can still choose React and have a fairly similar experience, or go through a more manual process of setting up Next.js (Next.js routing is worth it). Tutorial for manual setup of Next.js tauri.app/v1/guides/getting-started/setup/next-js While there is a way to use the old create-tauri-app with: cargo install create-tauri-app --version 2.8.0 cargo create-tauri-app Be careful as it might become obsolete at any point.
Have two questions, why do you use Nextjs instead React if is just a desktop app? and you can make a tutorial making a simple app with sqlite + tauri? Great video by the way!
Thanks! React is fine as well, but Next.js has a lot of features out of the box like e.g. routing, especially with the app dir layouts. I’m preparing a bunch of python content rn, but I’ll have a look into sql + tauri :)
When I follow the steps to create a project by typing cargo create-tauri-app, I only get react, angular, svelte, solid etc. on the options and no nextjs or ts options. The tauri docs also seem to show nextjs steps by first creating a nextjs app with npm/yarn etc and then linking it with tauri. is this the new way of doing it or am I missing something? Thanks in advance.
Are you sure you have the most recent version of create-tauri-app? I always run both of those commands, not just the second one: cargo install create-tauri-app cargo create-tauri-app Tauri docs recommend using create-tauri-app here (in the green box): tauri.app/v1/guides/getting-started/setup/next-js
@@orcharddweller I did have the most recent version (v3.0.2). Just installed everything last night and tried it. I did do both of those commands, one to install cta and the one to init the app however during the init phase I only get vanilla, vue, react, svelte, solid etc. (just tried it again and same thing even though their github says it supports nextts js etc). Weird. However I followed the other method as its simple enough to do so and was able to get nextjs with typscript setup with tauri src. Thanks for the video, it was helpful.
@@flyboi86 Hey, I've completely missed the update to create-tauri-app, sadly, Next.js is no longer available there, sorry for confusion :( I've pinned a comment with some suggestions, but you shouldn't need it as you've figured it out anyways 😎
Turns out that with the release of create-tauri-app 3.0.0 you can no longer choose Next.js as a javascript framework for tauri.
You can still choose React and have a fairly similar experience, or go through a more manual process of setting up Next.js (Next.js routing is worth it).
Tutorial for manual setup of Next.js
tauri.app/v1/guides/getting-started/setup/next-js
While there is a way to use the old create-tauri-app with:
cargo install create-tauri-app --version 2.8.0
cargo create-tauri-app
Be careful as it might become obsolete at any point.
Server side rendering a desktop app sounds cool.
It was fun! Looking forward to the next Tauri lesson again!
Thanks! It should be up soon!
Well explained! Can't wait for the next tutorial!
Thanks!
Hey man really liked the content. Well explained, didn't rush. Good job 👍
218 Subscribers! Keep it up :D
Thanks!!!
Subscribed for Tauri
great video
Nice!
Thank you!
ty
i love it
You need to make more videos
hey guys does anybody knows how can we make the nextjs14 app routers work with tauri?
Have two questions, why do you use Nextjs instead React if is just a desktop app? and you can make a tutorial making a simple app with sqlite + tauri? Great video by the way!
Thanks!
React is fine as well, but Next.js has a lot of features out of the box like e.g. routing, especially with the app dir layouts.
I’m preparing a bunch of python content rn, but I’ll have a look into sql + tauri :)
Bro, make all things Tauri playlist, but without using rust :D
But Rust is so much fun! How about showing both ways of doing things? 😎
i do not use ts. is there no way to use next.js with ts in tauri? with js it did not install next.js by default. it installed just react.
The nextjs template appears to have been removed.
Links in the description?
Oh god, I did forget about the links in the description 🥴.
They should be there now!
When I follow the steps to create a project by typing cargo create-tauri-app, I only get react, angular, svelte, solid etc. on the options and no nextjs or ts options. The tauri docs also seem to show nextjs steps by first creating a nextjs app with npm/yarn etc and then linking it with tauri. is this the new way of doing it or am I missing something? Thanks in advance.
Are you sure you have the most recent version of create-tauri-app?
I always run both of those commands, not just the second one:
cargo install create-tauri-app
cargo create-tauri-app
Tauri docs recommend using create-tauri-app here (in the green box):
tauri.app/v1/guides/getting-started/setup/next-js
@@orcharddweller I did have the most recent version (v3.0.2). Just installed everything last night and tried it. I did do both of those commands, one to install cta and the one to init the app however during the init phase I only get vanilla, vue, react, svelte, solid etc. (just tried it again and same thing even though their github says it supports nextts js etc). Weird. However I followed the other method as its simple enough to do so and was able to get nextjs with typscript setup with tauri src. Thanks for the video, it was helpful.
@@flyboi86 Hey, I've completely missed the update to create-tauri-app, sadly, Next.js is no longer available there, sorry for confusion :(
I've pinned a comment with some suggestions, but you shouldn't need it as you've figured it out anyways 😎
wtf