mirror of
https://github.com/rubickCenter/rubick
synced 2025-10-27 07:01:26 +08:00
ref: 功能优化
This commit is contained in:
2
static/plugins/rubick-plugin-demo/.gitignore
vendored
2
static/plugins/rubick-plugin-demo/.gitignore
vendored
@@ -1,2 +0,0 @@
|
||||
node_modules
|
||||
.idea
|
||||
@@ -1,6 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
hello world123123
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 90 KiB |
@@ -1,15 +0,0 @@
|
||||
{
|
||||
"pluginName": "测试插件",
|
||||
"description": "我的第一个 rubick 插件",
|
||||
"main": "index.html",
|
||||
"version": "0.0.1",
|
||||
"logo": "logo.png",
|
||||
"features": [
|
||||
{
|
||||
"code": "hello",
|
||||
"explain": "这是一个测试的插件",
|
||||
"cmds":["hello", "你好"]
|
||||
}
|
||||
],
|
||||
"preload": "preload.js"
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
const { readFileSync } = require('fs')
|
||||
|
||||
window.readConfig = function () {
|
||||
const data = '123123'
|
||||
return data
|
||||
}
|
||||
Reference in New Issue
Block a user