I am migrating a Quasar 1 (webpack) project to Quasar 2 (vite).
The project heavily relies on pug templates using the extends
functionality.
In order to use relative paths in the extends
I need to set a basedir for the pug-loader.
I installed the vite-plugin-pug
plugin and tried this in quasar.config.js but it doesn't seem to work:
vitePlugins: [
['vite-plugin-pug', {
basedir: path.resolve(__dirname),
}],
],
I keep getting the "[plugin:vite:vue] the "basedir" option is required to use includes and extends with "absolute" paths" error.