Skip to content

Support for PUG includes #452

Answered by rashfael
silentmantra asked this question in Q&A
Discussion options

You must be logged in to vote

I got pug includes to work in our projects by specifying the basedir in the vue plugin config like this:

vue({
  template: {
    preprocessOptions: {
      basedir: path.resolve(__dirname, './src') // or something else here
    },
  }
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by edison1105
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #193 on September 24, 2024 07:17.