SvelteKit Crash Course Tutorial #6 - Layout Components

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2024

Комментарии • 27

  • @maqomedrahmanov1123
    @maqomedrahmanov1123 2 года назад +57

    In the current version of Svelte for creating the layout page its name should be +layout.svelte instead of __layout.svelte

    • @gelismissuriyeli4440
      @gelismissuriyeli4440 Год назад

      thanks mate

    • @sideshowlol
      @sideshowlol Год назад +4

      And use +page.svelte instead of index.svelte. It's always a good idea to check the current docs. 😎👍

    • @tikonito
      @tikonito Год назад

      hero

  • @iDreamOfOkra
    @iDreamOfOkra 2 года назад +2

    Absolutely fabulous series of tutorials! I tried learning Angular, React, and View and each one of them left me with massive headaches. Then I found Svelte - what a breath of fresh air! Thank you for this great series!

  • @maskman4821
    @maskman4821 2 года назад +5

    I like the design(background-color, font, etc), Shaun truly works hard on user interface, I feel like playing games by just looking at the page, you know 😄😄😄

  • @vikypayal
    @vikypayal 2 года назад +9

    Thank you for translating the svelte kit docs to English. 🙏🏼. Really helped me!

  • @justingolden21
    @justingolden21 2 года назад

    May be good to also explain that the element can be used in components to hold anything inside of the tag, although I guess that's more in scope for svelte than svelte kit and probably mentioned in that tutorial.

  • @Omerko
    @Omerko 2 года назад

    Now, this is what I needed after the last video... 😀

  • @im2godly750
    @im2godly750 Год назад +3

    @thenetninja can you make a new lesson, there were some dramatic changes that took place, and some of your talking points are no longer valid... Like index.svelte and __layout ... I think the princable is still the same, but there are some changes... Maybe you can add some annotations to explain what changed???

  • @miguelsarmiento7628
    @miguelsarmiento7628 2 года назад +8

    +layout.svelte for new versions of SvelteKit

  • @buckamoona
    @buckamoona 2 года назад +1

    so in your layout component you added the Title which shows up on all pages, but how you you make that dynamic so the title for the guides page is "Guides" instead of the default, is that possible?

    • @buckamoona
      @buckamoona 2 года назад

      hmm i guess i can do it with reset layouts but wondering if there is a simpler way so i'm not duplicating the the entire layout just to have a different title , great tutorial btw

  • @wwhill8033
    @wwhill8033 2 года назад

    Excellent stuff Thanks!

  • @sjoerd5463
    @sjoerd5463 Год назад

    Wouldn't it make sense to put the styles folder inside of the lib folder to make use of the $lib alias?

  • @newborn7850
    @newborn7850 2 года назад +6

    Is this going to take over react js in future

    • @maskman4821
      @maskman4821 2 года назад +2

      yeah, I am sure it is going to happen in the near future 😎😎😎

    • @newborn7850
      @newborn7850 2 года назад

      @@maskman4821blockchain with Seveltrkit in frontend if u can give us some idea on it will surely rule.

    • @justingolden21
      @justingolden21 2 года назад +1

      I'm sure React will continue to be very, very popular, but Svelte is just cleaner, better, simpler react imo, and I hope more and more people continue to use it. The web is also always changing very quickly, so in ten years the most popular JS framework might be something we've never heard of today.

    • @drright71
      @drright71 2 года назад

      The future is now. Just completed a raw Svelte PWA. My next project will likely be SvelteKit (because I'll likely need routing).

    • @newborn7850
      @newborn7850 2 года назад

      @@drright71 can anyone show how to connect web3 with sveltekit

  • @lambisstratoudakis
    @lambisstratoudakis 2 года назад

    Great, but now with __layout how we change the title in individual pages?

  • @jaksa05
    @jaksa05 2 года назад

    Hi, im having a problem with layouts, every time I load a page, layout is there for like 2 - 3 seconds and then it disappears, like it's getting overwritten by rest of the page, can someone help me pls?

  • @jasonhuxley674
    @jasonhuxley674 2 года назад +1

    layout is now +layout.svelte