feat: improve minimal template#643
Conversation
🦋 Changeset detectedLatest commit: 29b1dd6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
commit: |
LayoutI would still like to add a <script>
import favicon from '$lib/assets/favicon.svg';
let { children } = $props();
</script>
<svelte:head>
<link rel="icon" href={favicon} />
</svelte:head>
<h1>Welcome to SvelteKit</h1>
{@render children?.()}And update TestsToday when we have
So, some We could do:
=> To have Let me know your feelings :p |
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
|
I'm not totally sure I agree with moving the h1 in the layout, but I definitely agree for the favicon. So the layout file would still be present, just without and filled with the favicon. I think that's a good compromise. I do agree with renaming that one vitest |
|
Ohh, and any reason you are only "linking" the issue in the pr description and not "closing" it? |
…uet/cli into feat/skeleton-template-improvements
I like this good compromise 😁
I updated only the test file name to match
Not really... It's just it was not addressing all points. Now that it's the case, I updated it ^^ |
Yes, exactly. Thinking out loud, any reason for not applying those changes to the other templates?
Didn't make those changes myself, as I'm not 100% sure that's the correct way to do it. Let me know what you think! |
I think it's not really needed there. The first goal is to public a
Yes, we could align with what we set here ?
Yeah, let's not move
Yeah, it's probably good to do this change EDIT: Humm I'm not sure! I'll update with your good thinking & my first opinions. Let's see after ;) |
manuel3108
left a comment
There was a problem hiding this comment.
I agree with your last comment, let's leave it as is.
Thank you!
|
The updated favicon code should be reverted. This issue is still open: |
|
Oh wow, that's wild ! Didn't know about this :/ Is it better to revert the full PR or do another PR to bring back the old favicon only ? 👀 |
|
If the In my personal template User-agent: *
Disallow: /login
Disallow: /unsupported |
|
If (The original idea was to have something in this folder so that people know that it exist) Let me know, and I'll do. Nice kitty! |
|
Yes, It should be reverted to Vite inline asset import in the long term.
This was my whole point with |
Closes: #218
/src/lib/assets(inline or immutable withassetsInlineLimitflag in vite.config)robots.txtto keep a static folderMove playwright files beside routes like page.e2e.(j|t)s