Locals
Opened this issue · 2 comments
argyleink commented
How do I pass locals? I'd really like to pass in data to keep my jade dry.
🤘
Prinzhorn commented
Same here. I want to migrate a http://harpjs.com/ project to parcel.
Harp has a harp.json
for data that is available to all templates and _data.json
which maps filenames to data. You can also access data about the file you're in http://harpjs.com/docs/development/contents http://harpjs.com/docs/development/current
I have never used parcel before and I'm not sure if it's even something that fits into its philosophy.