wp-theme-vite-tailwind icon indicating copy to clipboard operation
wp-theme-vite-tailwind copied to clipboard

Access to local installation from external device

Open fedeweb opened this issue 1 year ago • 3 comments

Hi @blonestar,

thanks for your work. I'm using your setup and it's working great.

I always set a virtual host for my projects (for example name.site) and with my previous configuration, with Gulp and Webpack, I was able to access to the website from external device by using my IP network.

How can I do the same thing with vite and your configuration?

fedeweb avatar Mar 22 '23 18:03 fedeweb

Hi there, you could try setup some host as your computer hostname or your local IP address in vite.config.js and then the same in /inc/inc.vite.js image image Please let me know does that work for you as I just don't have time to test.

blonestar avatar Mar 22 '23 23:03 blonestar

@fedeweb Did you get this to work? I really want to know how to use this. I didn’t get this to work.

ghost avatar Apr 14 '23 12:04 ghost

Hi @EmanuelSchreuder and @blonestar,

sorry for the delay of my answer, it didn't work and I'm still trying to find a solution.

fedeweb avatar Jun 13 '23 11:06 fedeweb