-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Allow user to configure the htmlPath (currently public/index.html) #869
Comments
Nevermind! I just figured out how to do it configuring webpack directly. In vue.config.js:
The path seemed to be hard coded in |
I think that more prefered way is merge your options with exist options.
|
I am also using laravel on the backend. I changed what I originally had done as seen earlier on this thread. What I ended up doing is putting laravel in the root folder and the whole frontend in a folder called vue. Then when it builds, it dumps everything in public/assets. Then for hot code on dev, you need to use a proxy URL. Not sure if it's the easiest way to do it, but it works. Here is my vue/vue.config.js file if it helps:
|
My previous comment no longer works with the beta15 release. Change baseUrl to the following:
|
@KerryRitter Dear, |
What problem does this feature solve?
I'd like to combine my vue frontend in the same project as my backend which is already making use of the /public folder. It would be nice if I could configure the path to serve out of a folder of my chosing, like /html or something.
What does the proposed API look like?
I believe it could be added to vue.config.js like this:
The text was updated successfully, but these errors were encountered: