send variable data from node js to front end javascript code example
Example: send variable data from node js to front end javascript
<script>
window.app = <%- JSON.stringify(data) %>
</script>
<script>
window.app = <%- JSON.stringify(data) %>
</script>