Commandbar with NextJS 14 &

Поділитися
Вставка
  • Опубліковано 12 лис 2024

КОМЕНТАРІ • 15

  • @yacinefsian917
    @yacinefsian917 8 місяців тому +1

    I think you explain it really well, it's very interesting. I can't wait to continue with you in the next video. I hope you will continue this series until the end.

  • @tohirwahyudi
    @tohirwahyudi 9 місяців тому +2

    new to shadcn and found this channel is help me a lot, thanks

  • @fencebud
    @fencebud 8 місяців тому +2

    Love the channel....so helpful. I'd like to understand how to add a button at the top of the sidebar that would shrink the sidebar to a list of icons only and then use the button to expand the sidebar again. Also, to be able to add subitems to the menu to make it incredibly useful and educational. Perhaps another video?

    • @codewithguillaume
      @codewithguillaume  8 місяців тому

      Good question! Add a button that you can click and on context or whatever use a variable call shrink that triggers a css class that will shrink it 😉 best !

  • @niekmollers640
    @niekmollers640 2 місяці тому +1

    Hi Guillaume,
    An update for your npage can be:
    "export default function ${1:Rename}Page() {`",
    " return Hello ${1:Rename}Page",
    Then you can enter the real name in both places simultaniously and directly

  • @nicosuave98
    @nicosuave98 5 місяців тому

    Thanks for the tuts! I found out that there is already a snippet: "rafce" that essentially does the same as your custom one I think. Thanks for this series. I am learning a lot!

  • @raymondwienand8177
    @raymondwienand8177 Місяць тому +2

    Great channel. Really glad I found it!
    When I add the {open && ..... } to the command I get an error when I type in the searchbar. Without the {open} it works 100%.
    I even tried it with your code but still getting the error.
    Error:
    Unhandled Runtime Error
    TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))

  • @dharylovey
    @dharylovey 9 місяців тому +2

    Next 🥰

  • @kiranpillai876
    @kiranpillai876 6 місяців тому +1

    Do you know how I would be able to get the value of what is being typed in to the command input? Usually we can just us the onchange handler but they don't provide that with the commandinput...

  • @bahadoornazeem5576
    @bahadoornazeem5576 9 місяців тому +1

    Hi Guillaume, when I add in page.tsx,I got an error "Homepage is not defined. From which library do we import it?

    • @codewithguillaume
      @codewithguillaume  9 місяців тому

      If homepage is a component import it from component. Otherwise you can’t import other pages ;)

  • @mehmethanifierenler3612
    @mehmethanifierenler3612 22 дні тому

    thanks