0👍
My fundamental misunderstanding was that a CDN network was “dumb” in that it just served static files as-is and had no capacity to perform features of a web server such as forcing SSL and handling server redirects, which are especially important for single-page apps. I believed that the root index.html
still needed to be served from a traditional, non-CDN web server.
So the answer doesn’t lie within webpack, the answer is to find a solid CDN that handle the necessary features and serve the entire site from there.
- [Vuejs]-Vue draggable : input field
- [Vuejs]-Loading an image with getDownloadURL() from firebase storage do not work
Source:stackexchange.com