Here are the steps how I usually deploy a Vue app to surge
With the surge CLI installed globally
npm install -g surge
npm run build
cd dist
surge
Command 3. tells surge to deploy the contents of the current folder (dist)
Then you'll be asked to choose a subdomain. For example yourproject.surge.sh
Here are the steps how I usually deploy a Vue app to surge
With the surge CLI installed globally
npm install -g surge
npm run build
cd dist
surge
Command 3. tells surge to deploy the contents of the current folder (dist)
Then you'll be asked to choose a subdomain. For example
yourproject.surge.sh
Your Vue app will be deployed to that domain. 😊
it's like heroku but i want to publish it on my own shared hosting cpanel when i deploy it it show me a blank page