Setup Vue.js App on Heroku
Channel:
Subscribers:
1,000
Published on ● Video Link: https://www.youtube.com/watch?v=IJug1jQ5B0M
In this video I setup a Vue.js app on Heroku, which allows the app to be visible on the internet.
Server.js code:
const express = require('express')
const serveStatic = require('serve-static')
const path = require('path')
const app = express()
app.use('/', serveStatic(path.join(__dirname, '/dist')))
const port = process.env.PORT || 8080
app.listen(port)
Other Videos By IndieRevo
Tags:
vue
vuejs
vue.js
javascript
windows 10
development
coding
how to
setup
setting up
heroku
vs code
visual studio code