#vite.config.js
2 messages · Page 1 of 1 (latest)
you can use the vite key in the nuxt config
2 messages · Page 1 of 1 (latest)
Can I use vite.config.js file in a nuxt 3 project?
I need this code:
import { UserConfig } from 'vite';
const config = {
plugins: [vue()],
resolve: {
alias: {
path: "path-browserify",
}
}
};
And I don't know how to use it inside the vite.resolve property inside nuxt.config.js
you can use the vite key in the nuxt config