Right now it's not clear how we should pass this through. Also open to other ideas like using the URL path instead.
posts/comments/new.svelte has a similar problem. It generates a file that is missing comment variable. This variable isn't needed when the scaffolding is unnested.
The following command doesn't work yet:
The problems are the following:
Currently the generated
view/posts/comments/index.svelte
contains a missingcomment
variable:Right now it's not clear how we should pass this through. Also open to other ideas like using the URL path instead.
posts/comments/new.svelte
has a similar problem. It generates a file that is missingcomment
variable. This variable isn't needed when the scaffolding is unnested.In this case, just a bit more work needs to be done to conditionally introduce a script tag.