#vite.config.js

2 messages · Page 1 of 1 (latest)

lone scroll
#

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

lofty wyvern