Skip to content

This is a template repo for building larger plugins (e.g. multiple source files)

License

Notifications You must be signed in to change notification settings

z2k-gwp/obsidian-z2k-plugin-template-large

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Obsidian Plugin Template for Larger Projects

Overview

This Obsidian code template is used to create larger plugins. Large is defined as:

  • residing in multiple files in a .\src subdirectory
  • needs classes and potentially external interfaces and additional dependencies to pull it off
  • uses rollup for building and npm for library management
  • (Future:) uses typescript-eslint for linting
  • (Future:) uses Jest for testing

Details

Installation

  • Make sure you have the basics preconfigured:
    • You've installed NodeJS/npm.
    • You are using Hot Reload
    • You have run npm update recently to ensure your Obsidian API is up to date.
  • Make a copy of this repo as a template with the "Use this template" button (login to GitHub if you don't see it).
  • Clone your repo to a local development folder. Put the folder in your .obsidian/plugins/your-plugin-name folder.
  • run npm i or yarn to install dependencies
  • Run the compile wait loop by running from the command line npm run dev

Tools

About

This is a template repo for building larger plugins (e.g. multiple source files)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published