docs icon indicating copy to clipboard operation
docs copied to clipboard

New Vite plugin option and behavior

Open jeremy-step opened this issue 6 months ago • 3 comments

  • bug fix / new feature nette/vite-plugin#2
  • BC break: no

Update Nette Docs to highlight new Vite Plugin options and behavior.

jeremy-step avatar Jun 24 '25 20:06 jeremy-step

Thank you. Could I ask you to elaborate a bit more for the reader who wants to use it in the docker? Do I need to configure docker in any way ... or how to get it running? Just briefly, but it will avoid a lot of questions. I don't use docker, so I'm not familiar with it.

dg avatar Jun 26 '25 16:06 dg

Done, I briefly explained some of the necessary configurations for docker development. I didn't include any steps to run and build containers because it is assumed the user knows how to do that. I included a link to the docker docs on how to expose ports, that is directly related to configuring vite.

jeremy-step avatar Jun 26 '25 17:06 jeremy-step

I didn't have time to elaborate more on why it's assumed the user already knows how run containers.

By the time the user realizes that extra Vite configuration is needed to access the dev server from outside the container, they already have their containers built and running.

jeremy-step avatar Jun 26 '25 19:06 jeremy-step