Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- db.Sample.findAll().then(samples => {
- const data = {
- response: JSON.parse(JSON.stringify(samples))
- };
- const vueOptions = {
- head: {
- title: 'Sample'
- }
- };
- res.renderVue('database/samples', data, vueOptions);
- });
Add Comment
Please, Sign In to add comment