Tuesday, 18 September 2018

Nodejs and vuejs

I use handlebars to allocate all the necessary data received fromthe server when doing a get request.Could i use, instead, vuejs?Something like:App.get('/todos',(req,res) => {res.render('home',data);}) :But then on the clien side I'd be able to access this data object with vuejs. Is this possible?How should i approach this?

Submitted September 18, 2018 at 05:39PM by its_joao

No comments:

Post a Comment