Support for PUG includes #452
-
DescriptionPromoting Vite on stackoverflow.com but that's hard. I guess Vite loses to Webpack in terms of support and size of community. I think more easy-to-implement features could be added to Vite for closing the gap. I had recently a hot debate on handling PUG files. Turned out there's no support for PUG includes in VIte and a couple of existing PUG plugins doesn't solve the problem. Suggested solutionAdd support of using AlternativeNo response Additional contextNo response Validations
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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
},
}
} |
Beta Was this translation helpful? Give feedback.
I got pug includes to work in our projects by specifying the basedir in the vue plugin config like this: