TypeError: pugPlugin is not a function
Opened this issue · 2 comments
abdurahman-harouat commented
when doing yarn dev
i get this error
error when starting dev server:
TypeError: pugPlugin is not a function
im using archlinux
themixhelp commented
same for me! can you provide me any fixes?
macOS user here...
felixranesberger commented
I had to import the plugin like this.
const { default: vitePug } = require('vite-plugin-pug');
Not sure if this is your problem though.