@marko/run-adapter-static
TypeScript icon, indicating that this package has built-in type declarations

0.1.7 • Public • Published

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()
    })
  ]
});

Dependents (0)

Package Sidebar

Install

npm i @marko/run-adapter-static

Weekly Downloads

2

Version

0.1.7

License

MIT

Unpacked Size

69.6 kB

Total Files

8

Last publish

Collaborators

  • tigt
  • ryanturnquist
  • dylanpiercey
  • ryansolid
  • mlrawlings
  • agliga