pengx17 / logseq-plugin-template-vue

logseq, vue, vite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logseq Plugin Template Vue

Features

  • plug & play boilerplate
  • develop with HMR, empowered by lightning fast Vite ⚡
  • windicss for styling
  • pnpm

How HMR works?

See vite.config.ts. There is a custom plugin that will write a dev only index.html. The index.html will

  • change its base to http://${config.server.host}:${config.server.port}
  • attach /@vite/client (allows error overlay and connect HMR ws)

About

logseq, vue, vite

License:MIT License


Languages

Language:TypeScript 79.4%Language:Vue 12.0%Language:HTML 8.6%