@bdsx/plugin_example

Example for bdsx plugin

Usage no npm install needed!

<script type="module">
  import bdsxPluginExample from 'https://cdn.skypack.dev/@bdsx/plugin_example';
</script>

README

How to make the plugin

> npm run newplugin ./path/to/plugin

How to install the local plugin

> npm i ./path/to/plugin

How to publish

  1. Create an npm account if you don't have one yet. NPM Sign Up
  2. Login with the command line
> npm login
npm notice Log in on https://registry.npmjs.org/
Username: # Enter Username
Password: # Enter Password
Email: (this IS public) # Enter Email
  1. Publish with the command line
> cd path/to/plugin # move to the plugin directory
> npm publish --access=public # publish the plugin

How to install the plugin to the other project

> npm i @bdsx/pluginname