I have a js file which i am using to display chart, i have linked it with chart.pug (suppose) i am rendering chart.pug with a variable data, so can i access that data variable from that js file?
— Pug?
— Yea thats too a way, but what i am asking..
— Yea i am using pug
— Same as jade
— Pug runs on the server
— Yes, you will have to send the raw data seperately
— You need the data on the client
— Unless you find some way to wrap it with the chart data