Skip to content

nolebase/obsidian-plugin-vue

Repository files navigation

Obsidian Plugin Vue

Note

This is one of the plugins of the collections of plugins called Nólëbase Integrations. You can explore the other plugins in the collection in the official documentation site of Nólëbase Integrations.


Write your notes in Obsidian with Vue.js.

😎 How to install

Warning

Currently Obsidian Vue Plugin is in alpha stage, it wasn't guaranteed to work properly and keep the compatibility with the future versions of itself.

But it is encouraged to try it out and give feedbacks. If you find and bugs or have any suggestions, please feel free to open an issue on GitHub.

Currently, it is a bit hard to install the plugin for now before it is published to the official Obsidian plugin store. Manual downloading and installation is required.

Install with beta testing helper BRAT plugin

  1. Install the BRAT plugin right from the official Obsidian plugin store.
  2. Enable the BRAT plugin in the community plugins settings menu.
  3. Open Command palette to choose BRAT: Plugins: Add a beta plugin for testing.
  4. Copy and paste the following link to the first field of the new prompted dialog:
https://github.com/nolebase/obsidian-plugin-vue
  1. Find the needed released version on Release page of Obsidian Vue Plugin, for example, fill in 0.1.0.
  2. Enable the "Vue" plugin from the Installed plugins list.

Install manually

  1. Navigate to the Release page of Obsidian Vue Plugin
  2. Find the latest version of the plugin.
  3. Download the main.js file and manifest.json file.
  4. Open up the .obsidian/plugins directory of your Obsidian vault.
  5. If no .obsidian/plugins directory exists, create one.
  6. Create a new directory named obsidian-plugin-vue inside the .obsidian/plugins directory.
  7. Move main.js file and manifest.json file into the obsidian-plugin-vue directory.

The directory structure should look like this after these steps:

❯ tree
.
├── main.js
├── manifest.json
  1. Enable the "Vue" plugin from the "Installed plugins" list.

⏳ TODOs

  • Auto completion for CSS classes.
  • Annotation decoration for Vue identifiable classes.

💻 How to develop

  1. As Build a plugin - Developer Documentation has suggested, create a separate vault for development.
  2. (Optional) Install the hot-reload plugin: pjeby/hot-reload.
  3. Create a .obsidian/plugins directory in the vault root.
  4. Clone this repository into the .obsidian/plugins directory.
  5. Install dependencies
pnpm install

If you use @antfu/ni, you can also use the following command:

ni
  1. Build the plugin
pnpm run build

If you use @antfu/ni, you can also use the following command:

nr build
  1. Reload Obsidian to see the changes. (If you use the hot-reload plugin, you don't need to reload Obsidian manually.)

Reloading can be called from the command palette with Reload app without saving command.

🔨 How to build

pnpm run build

If you use @antfu/ni, you can also use the following command:

nr build

Written with ♥

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  
  •  

Packages

No packages published