create-tauri-app icon indicating copy to clipboard operation
create-tauri-app copied to clipboard

add dominator-rust template into tauri

Open rizary opened this issue 1 year ago • 2 comments

Adding dominator-rust project to create-tauri-app

rizary avatar Jan 16 '24 03:01 rizary

Hi @amrbashir , thank you for your input, very appreciate it. I'll address one by one soon. Just fyi on couple of things:

  1. I try the other rust based frontend template without success, hence this template just following my typical dev flow when using dominator as frontend. Other project, they add src-tauri as workspace in which I think it's not the best approach.
  2. there is package.json because on dev, trunk always copy over all the asset which cause some slowness on large project. Meanwhile, here I create several server to host the asset, so dev workflow is faster
  3. I have couple update that I'll push on another commit.

Thanks.

rizary avatar Jan 16 '24 22:01 rizary

I try the other rust based frontend template without success

Would like to hear more about this, as this would be a bug that needs to be fixed.

2. there is package.json because on dev, trunk always copy over all the asset which cause some slowness on large project. Meanwhile, here I create several server to host the asset, so dev workflow is faster

I would say this is an optimization for said larger projects to do, for create-tauri-app use-case, I'd like to keep the template as simple as possible so it is easier to add and modify later on.

amrbashir avatar Jan 16 '24 23:01 amrbashir