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