Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to local installation from external device #9

Open
fedeweb opened this issue Mar 22, 2023 · 3 comments
Open

Access to local installation from external device #9

fedeweb opened this issue Mar 22, 2023 · 3 comments

Comments

@fedeweb
Copy link

fedeweb commented Mar 22, 2023

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?

@blonestar
Copy link
Owner

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.

@ghost
Copy link

ghost commented Apr 14, 2023

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

@fedeweb
Copy link
Author

fedeweb commented Jun 13, 2023

Hi @EmanuelSchreuder and @blonestar,

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants