#Preact-ts setup?

3 messages · Page 1 of 1 (latest)

last oracle
#

I am reading this article
https://tauri.app/blog/2023/03/01/create-tauri-app-version-3-released/#community-maintained-templates--previous-versions

It is unclear to me how I setup preact-ts when it's not in the template.
It refers to awesome tauri and I went here
https://github.com/pie-inc/tauri-vite-preact

I am pretty new to this so I am probably missing something.

GitHub

Tauri + Vite + Preact Boilerplate. Contribute to pie-inc/tauri-vite-preact development by creating an account on GitHub.

create-tauri-app Version 3 is released with support for alpha versions of Tauri, mobile project support and DX improvements

unkempt comet
#

right now you should still be able to use the old CTA which had a preact template, as shown in the link you shared.

Alternatively the general idea is that you follow https://tauri.app/v1/guides/getting-started/setup/vite, or if you don't want to use vite you create the preact app however you want and then add tauri as described in https://tauri.app/v1/guides/getting-started/setup/integrate

It refers to awesome tauri and I went here
https://github.com/pie-inc/tauri-vite-preact
The idea with awesome-tauri templates is that you just clone the template repo, this is basically the same thing create-tauri-app does.

last oracle
#

@unkempt comet I see thank you.
I was considering going with the old one but kinda wanted to understand what the intention is going forward.
so I can either pull the preact and then launch tauri in dev mode and it should work? after init yarn or a manual install via what you linked where I can then do pretty much anything that I would be able to do through Vite?