@marko/run-adapter-static
v0.2.1
Published
Preview and deploy @marko/run apps as static files
Downloads
252
Keywords
Readme
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()
})
]
});