Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pengx17/vite-plugin-logseq

Vite plugin for developing Logseq Plugins
https://github.com/pengx17/vite-plugin-logseq

Last synced: 2 months ago
JSON representation

Vite plugin for developing Logseq Plugins

Awesome Lists containing this project

README

        

# vite-plugin-logseq

A Vite plugin that is essential for developing Vite plugins locally.

It should fix the follow HMR issues for you:
- a valid index.html for local development
- reload the plugin if update is outside of your UI framework's HMR boundary

## Install

`npm install vite-plugin-logseq`

## Change your vite.config.ts

```ts
import logseqPlugin from "vite-plugin-logseq";

// in the plugins session

plugins: [
...,
logseqPlugin()
]
```

[MIT](/LICENSE) @pengx17