This is a sample plugin for Obsidian (https://obsidian.md). It adds the following setup on top the Obsidian Sample Project
- React
- TailwindCSS
- Vite (replace esbuild)
TailwindCSS is pre-configured to use the Obsidian CSS tokens. The preflight is turned off due to conflict with Obsidian's default styles.
- Clone this repo.
- Make sure your NodeJS is at least v20 (
node --version
). npm i
oryarn
to install dependencies.npm run dev
to start compilation in watch mode.