Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 534 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 534 Bytes

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