Beginner's Note
I must confess that I am a novice when it comes to web development.
Please bear with me if this question seems silly; I appreciate your assistance in advance.
Initial Setup
My current node version is 16.15.1 and npm version is 9.5.0. To kickstart my project, I used the command $ npm create vite@latest
. Upon setup, I opted for Vue and Javascript. Aside from a minor issue where npm gave a warning about "
deprecated <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="d4a7bba1a6b7b1b9b5a4f9b7bbb0b1b794e5fae0faec">[email protected]</a>: Please use @jridgewell/sourcemap-codec instead
", everything else proceeded smoothly.
Once inside the project directory, I executed $ npm install
followed by $ npm run build
. No issues or warnings were raised during these processes.
The Issue
Subsequently, when I accessed dist/index.html
, all I found was an empty page. Although npm run dev
appears functional, I cannot locate the finalized website anywhere.
Despite multiple attempts, the outcome remains unchanged. What could be the root of the problem?
I deeply appreciate anyone who takes the time to respond to my query.
Edit: I aim to generate static HTML suitable for platforms like Github Pages.