Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pengx17/logseq-plugin-template-react
Logseq plugin boilerplate for React. Powered by Vite ✨
https://github.com/pengx17/logseq-plugin-template-react
logseq logseq-plugin react vitejs windicss
Last synced: 4 days ago
JSON representation
Logseq plugin boilerplate for React. Powered by Vite ✨
- Host: GitHub
- URL: https://github.com/pengx17/logseq-plugin-template-react
- Owner: pengx17
- Created: 2021-05-24T06:33:18.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-12-16T18:09:18.000Z (9 days ago)
- Last Synced: 2024-12-20T21:54:55.035Z (5 days ago)
- Topics: logseq, logseq-plugin, react, vitejs, windicss
- Language: TypeScript
- Homepage:
- Size: 1.3 MB
- Stars: 122
- Watchers: 2
- Forks: 17
- Open Issues: 14
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Logseq Plugin Template React 🚀
## Features
- Plug-and-play boilerplate with properly defined GitHub action defaults
- Develop with HMR, empowered by lightning-fast Vite ⚡ with [vite-logseq-plugin](https://github.com/pengx17/vite-plugin-logseq)
- TailwindCSS for styling
- Pnpm## How to get started
1. Clone the repository or use the button "Use this template" on GitHub to create your own version of the repository 🔨
2. Make sure you have pnpm installed, [install](https://pnpm.io/installation) if necessary 🛠
3. Execute `pnpm install` 📦
4. Change the plugin-name in `package.json` to your liking. Adapt both the package-name and the plugin-id at the bottom of the `package.json`. Make sure that they are not conflicting with plugins you already installed. 📝
5. Execute `pnpm build` to build the plugin 🚧
6. Enable developer-mode in Logseq, go to plugins, select "Load unpacked plugin" 🔌
7. Select the directory of your plugin (not the `/dist`-directory, but the directory which includes your package.json) 📂
8. Enjoy! 🎉