Comments (1)
You need to move your js file into your Obsidian vault's plugin directory just like any other plugins, and let obsidian pick up your plugin. The js file doesn't run like a standalone program.
from obsidian-sample-plugin.
Related Issues (20)
- `version-bump.mjs` could use async file ops for speed up
- Feature request — expanding the sample plugin with more examples/features HOT 1
- Failed to run `npm run dev` HOT 1
- Can't build plugin with npm run dev HOT 3
- npm install not working? HOT 1
- src folder HOT 2
- Add additional Functionality to the Plugin HOT 2
- [BUG] TypeScript Compile fails in Sample Plugin with TypeScript `5.1.6` HOT 1
- use this template HOT 4
- [BUG] Failed to compile on Linux Pop!_OS 22.04 LTS HOT 2
- esbuild.config.mjs sourcecode HOT 1
- Minify production build
- My mistake
- Config Dir sync no longer working (Reported .DS_Store issue) HOT 1
- Organise typescript sources into separate src hierarchy
- adding a toggle button HOT 1
- Display download successful, but not in the local file library HOT 1
- Custom View Explorer
- [feature request] multiple cursor positions (each linked to a different tab) for same file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obsidian-sample-plugin.