From 5cd3a67796a701623a920ab91108433726c64d09 Mon Sep 17 00:00:00 2001 From: "guillem.cordoba" Date: Tue, 19 Nov 2024 12:28:33 +0100 Subject: [PATCH] Better setup page --- crates/scaffold_tnesh_zome/template/docs/setup.md.hbs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/crates/scaffold_tnesh_zome/template/docs/setup.md.hbs b/crates/scaffold_tnesh_zome/template/docs/setup.md.hbs index ea39377..e94140d 100644 --- a/crates/scaffold_tnesh_zome/template/docs/setup.md.hbs +++ b/crates/scaffold_tnesh_zome/template/docs/setup.md.hbs @@ -10,15 +10,12 @@ nix run github:{{github_organization}}/{{kebab_case zome_name}}-zome#scaffold ``` This will do the following: - - Add the flake input for that repository in your `flake.nix`. - - Add the appropriate zome packages to the `dna.nix` that you select. - - Add the UI package for @{{npm_organization}}/{{kebab_case zome_name}}-zome as a dependency of your UI package. + - Add the `github:{{github_organization}}/{{kebab_case zome_name}}-zome` flake input in your `flake.nix`. + - Add the `{{snake_case zome_name}}` coordinator and integrity zome packages to the `dna.nix` that you select. + - Add the UI package for `@{{npm_organization}}/{{kebab_case zome_name}}-zome` as a dependency of your UI package. - Add the `<{{kebab_case zome_name}}-context>` element at the top level of your application. -> [!NOTE] -> You can read more about the context pattern [here](https://darksoil.studio/tnesh-stack/guides/custom-elements#context). - -That's it! You have now integrated the `linked-devices` coordinator and integrity zomes and their UI into your app! +That's it! You have now integrated the `linked_devices` coordinator and integrity zomes and their UI into your app! Now, [choose which elements you need](/elements/{{kebab_case zome_name}}-context.md) and import them like this: