logseq-plugin-react-boilerplate with vite react typescript tailwindcss antd
- Use this template create your own plugin
- change
package.json
name to your own plugin name - change LICENSE to your own license
- change logo.png to your own logo
- run
pnpm install
to install dependencies
- run
pnpm dev
to start vite server - Open HTTP APIs server Feature in logseq settings
- add Authorization tokens in logseq
- API_SERVER=http://127.0.0.1:12315
- API_TOKEN=123
- open
localhost:5173
in browser
Tip
Browser mode cannot access logseq plugin settings, you can add a file mocks/settings.local.json
to mock.
This mode doesn't support HMR, you need to run pnpm build
and reload plugin in logseq to see the changes
- run
pnpm build:plugin
to build plugin - Open Plugins feature in logseq settings
- Click
Load unpacked plugin
and select this project folder
- push to
main
branch - github ci will auto create a new release
Tip
Commit message needs to follow the semantic-release specification
Publish to logseq marketplace
Create PR to add your plugin message to logseq/marketplace