Skip to content

lokal-so/lokal-vite-plugin

Repository files navigation

Lokal Vite Plugin

Vite Plugin for Lokal JS/TS client

CLI Preview Browser Preview
CLI Preview Browser Preview

Installation

npm i lokal-vite-plugin

Usage

// vite.config.js
import { defineConfig } from 'vite';
import lokalTunnel from 'lokal-vite-plugin';

export default defineConfig({
	plugins: [lokalTunnel({
		tunnelName: "my app",
		lanAddress: "my-app.local",
		publicAddress: "remix.i.lokal-so.site"
	})]
});

License

MIT