DEV Community

Discussion on: Using Vue Components in your Express app

Collapse
 
dseiler profile image
dseiler

Great article!! Question: does this also work with handlebars rendering engine. I didn't get it running.

Collapse
 
peacefulseeker profile image
Alexey Vorobyov

Yes. It does.
If you are interested, Actually you just replace view engine with hbs module and require it on the top of course

const app = express();
const hbs = require('hbs');
....

// view engine setup
`app.set('view engine', 'hbs');`

....