You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 26, 2018. It is now read-only.
I am trying to use static variables in my Pug templates, like so:
template.pug
This works perfectly fine from the CLI:
pug --obj package.json template.pug --out public
But I don't know how to pass
package.json
to Vueify.I tried using
vue.config.js
and adding adata
object to it, but to no avail.How can I achieve this? Thank you!
UPDATE:
Looking at source code for compiler.js, it seems that there is no data passed to the templates.
I found this, but it's not really helpful: https://forum.vuejs.org/t/pug-template-data-binding-in-vue-component/7437/2
The text was updated successfully, but these errors were encountered: