Coding Shorts: Getting Started with Vite 4

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

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

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

    Thanks for clarifying the intention of Vite.

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

    One point of contention; it will not simply build a production ready site ready to host. Which is why I came to watch this video. I've been pulling my hair out trying to figure out how get the final 'production' build viewable in the browser even AFTER I've uploaded it a host.

    • @swildermuth
      @swildermuth  Год назад +1

      That's fair, but once you build for production. It's just files. Any http server would work. Look at using httpserver (a npm package) to just run a server in that folder and see if it runs. In that case, you could just host all the code in a static web site (e.g. AWS and Azure both support this).

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

      ​@@swildermuth The think the bigger picture here is that I'm an idiot who needs to read documentation.
      That being said, I"m glad I came across your channel. You're a ringer, and I can use your insights.

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

    Thanks for video! What do you like more - Vue or React? What do you think about popularity and future of Vue?

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

    Sir, should we run a project without dev-dependence in production server? If we can how do we do it?

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

      on the server you should use "npm ci" instead of "npm i" in your build scripts

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

      @@swildermuth Thank you Sir 🙏