@analogjs/vite-plugin-nitro
TypeScript icon, indicating that this package has built-in type declarations

1.9.4 • Public • Published

@analogjs/vite-plugin-nitro

A Vite plugin for integrating with Nitro.

Install

npm install @analogjs/vite-plugin-nitro --save-dev

Setup

Add the plugin to the plugins array in your Vite config

import { defineConfig } from 'vite';
import nitro from '@analogjs/vite-plugin-nitro';

// https://vitejs.dev/config/
export default defineConfig({
  resolve: {
    mainFields: ['module'],
  },

  plugins: [nitro()],
});

Package Sidebar

Install

npm i @analogjs/vite-plugin-nitro

Homepage

analogjs.org

Weekly Downloads

6,516

Version

1.9.4

License

MIT

Unpacked Size

60.7 kB

Total Files

45

Last publish

Collaborators

  • brandonroberts