1.1.3 • Published 2 years ago

@capri-js/vercel v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Capri 🍋 SSR on Vercel

Use @capri-js/vercel to render your static pages using either

NOTE: This is only needed for SSR. For static sites that are prerendered upon build, leave the target set to undefined.

https://vercel.com/docs/build-output-api/v3

Usage

// vite.config.ts
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import capri from "@capri-js/react";
import vercel from "@capri-js/vercel";

export default defineConfig({
  plugins: [
    react(),
    capri({
      target: vercel({
        // options (see below)
      }),
    }),
  ],
});

Options

edge

Whether to create an edge function (default false).

isg

Settings for Incremental Static Rendering.

{
  expiration: number | false;
  bypassToken?: string;
}
1.1.3

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.1.2

2 years ago

1.1.0-next.1

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.0-next.15

2 years ago

1.0.0-next.14

2 years ago

1.0.0-next.13

2 years ago

1.0.0-next.12

2 years ago

1.0.0-next.11

2 years ago

1.0.0-next.10

2 years ago

1.0.0-next.9

2 years ago

1.0.0-next.8

2 years ago

1.0.0-next.7

2 years ago

1.0.0-next.6

2 years ago

1.0.0-next.5

2 years ago

1.0.0-next.4

2 years ago

1.0.0-next.3

2 years ago

1.0.0-next.2

2 years ago

1.0.0-next.1

2 years ago