# thingjs-template-plugin
**Repository Path**: uinosoft/thingjs-template-plugin
## Basic Information
- **Project Name**: thingjs-template-plugin
- **Description**: thingjs-template-plugin
- **Primary Language**: Unknown
- **License**: BSD-3-Clause
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2023-08-04
- **Last Updated**: 2025-07-03
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
This is a ThingJS 2.0 plugin project
## CLI
```bash
> npm i
```
## Folder
```bash
├─ assets
│ ├── models # models folder*
│ └── images # images folder*
├─ dist # output folder
├─ dts # dts folder
├─ libs
│ ├─ thing.min.js # thingjs core lib
│ └─ data.gui.min.js # ui tools
├─ packages
│ ├─ rollup.config.js # rollup config for pack
│ ├─ build.js # build script for the build command,build once
│ ├─ watch.js # watch script for the watch comman,build when change
│ └─ serve.js # serve script for the serve comman,build when change and provide server
├─ src # development folder
│ ├──index.js # entry file
│ ├──blueprints # blueprint-node scripts*
│ └──components # component scripts*
├─ .babelrc # babel config
├─ index.html # test html
├─ jsconfig.json # the config for dts
├─ LICENSE # BSD license description file
├─ package-lock.json # package lock file
├─ package.json # package file
└─ README.md # readme file
```
## Test
```bash
> npm run serve
```
Open the page `index.html`
## Useage
```javascript
// load plugin
app.loadPlugin("./my-plugin/index.js");
```
```javascript
// load plugin with name
app.loadPlugin({
url: "./dist/your-plugin/index.js",
name: "YourPlugin"
})
// uninstall by name
app.uninstall('YourPlugin');
```