Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 999 Bytes

README.md

File metadata and controls

40 lines (30 loc) · 999 Bytes

Marko Run Logo
@marko/run-adapter-static

Preview and deploy @marko/run apps as static files

Intallation

npm install @marko/run-adapter-static

Usage

In your application's Vite config file (eg. vite.config.js), import and register this adapter with the @marko/run Vite plugin:

import { defineConfig } from "vite";
import marko from "@marko/run/vite";
import staticAdapter from "@marko/run-adapter-static";

export default defineConfig({
  plugins: [
    marko({
      adapter: staticAdapter()
    })
  ]
});