Update README.md
This commit is contained in:
parent
ed0e0a6e90
commit
ceb3837850
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
@ -15,6 +15,16 @@ This sample plugin demonstrates some of the basic functionality the plugin API c
|
||||||
- Registers a global click event and output 'click' to the console.
|
- Registers a global click event and output 'click' to the console.
|
||||||
- Registers a global interval which logs 'setInterval' to the console.
|
- Registers a global interval which logs 'setInterval' to the console.
|
||||||
|
|
||||||
|
### First time developing plugins?
|
||||||
|
|
||||||
|
Quick starting guide for new plugin devs:
|
||||||
|
|
||||||
|
- Make a copy of this repo as a template with the "Use this template" button.
|
||||||
|
- Clone your repo to a local development folder. For convenience, you can place this folder in your `.obsidian/plugin/your-plugin-name` folder.
|
||||||
|
- Install NodeJS, then run `npm i` in the command line under your repo folder.
|
||||||
|
- Run `npm run dev` to compile your plugin from `main.ts` to `main.js`.
|
||||||
|
- Make changes to `main.ts` (or create new `.ts` files). Those changes should be automatically compiled into `main.js`.
|
||||||
|
- Reload Obsidian to load the new version of your plugin.
|
||||||
|
|
||||||
### Releasing new releases
|
### Releasing new releases
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue