Skip to content
This repository was archived by the owner on Dec 26, 2018. It is now read-only.

Conversation

Jerffersonferreira
Copy link

This PR is going to solve this issue: #181
Now it's possible to define variables in vueify config to be used inside a pug template:

// vue.config.js
module.exports = {
  pug: {
    basedir: __dirname,
    data: {
      imageBasePath: 'https://example.com/'
    }
  }
};

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant