Re-posted to fix my filename emoji. You can’t make this shit up

  • notarobot@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    16 hours ago

    I can’t believe I’m mentioning svelte kit file structure twice in like a week. I made an example to show in another comment but when I tried to copy and paste here it escaped Ann the characters, so here is a link

    https://lemmy.zip/comment/21657580

    Edit: I got it. The / at the end are not part of the name, they are just to show that they are folders

    routes/
    +page.ts
    (admin)/
      +page.ts
      [user=uuid]/
        [[community]]/
          +page.ts
        posts/
          [...postIds@]/
            +page.ts