obsidian-svelte Svelte Themes

Obsidian Svelte

obsidian-svelte-starter

A starter template for creating an Obsidian plugin with SvelteJS.

Features

This project comes preconfigured with Typescript, vite, and Rollup.js.

Getting Started

Click "use this template" to create your own fork of this repo. Make sure to reference the official sample plugin for information about how to get started with the Obsidian API and how to submit your plugin to the Community Plugin Gallery.

# for local development
npm install
npm run dev
// Or yarn dev

# for a production bundle
npm install
npm run build
// Or yarn build

# change version
npm bumpversion
// Or yarn bumpversion

Stats

The production output of this sample plugin is ~10 KB.

./styles.css   0.44 KiB / gzip: 0.19 KiB
./main.js      12.63 KiB / gzip: 3.70 KiB

API Documentation

See https://github.com/obsidianmd/obsidian-api

Top categories

Loading Svelte Themes