I'm running into a bit of a wall and hoping for some help. It's probably something really simple that I'm overlooking. Our team is working on our lighthouse score, mainly focused on mobile optimization. Is it possible to actually build and serve those compiled files locally? What's the best way to do that and test what our performance is?
Asked
Active
Viewed 523 times
-2
-
"those compiled files"? What compiled files? Maybe it's clear to someone who could help you, and so you'll get a helpful answer, but the goal of SO is not to help just one individual but rather to build a widely useful knowledge base. Your question could benefit a lot by some detail as to what you're talking about. - Also, the subject of a question is important. Yours says pretty much nothing about your situation. – CryptoFool Jan 16 '22 at 01:07
1 Answers
0
Think of it from a high level, you are building your Vue application into a static website. Static websites only require a simple HTTP server. Therefore you can host and test this production build two different ways:
With a simple local HTTP server (apache, nginx, node express), or you could use something like https://www.npmjs.com/package/http-server
Host your production build online somewhere, such as https://pages.github.com/

Nathan
- 1,162
- 1
- 9
- 14