Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(musicplayer-plugin): support NetEase Cloud Music
- Loading branch information
Showing
19 changed files
with
826 additions
and
85 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,37 @@ | ||
{ | ||
"_from": "@vuepress/plugin-back-to-top@2.0.0-beta.26", | ||
"_id": "@vuepress/plugin-back-to-top@2.0.0-beta.26", | ||
"_inBundle": false, | ||
"_integrity": "sha1-xb6u2TrbtYl2WLmoByAAs9rY+LA=", | ||
"_location": "/@vuepress/plugin-back-to-top", | ||
"_phantomChildren": {}, | ||
"_requested": { | ||
"type": "version", | ||
"registry": true, | ||
"raw": "@vuepress/plugin-back-to-top@2.0.0-beta.26", | ||
"name": "@vuepress/plugin-back-to-top", | ||
"escapedName": "@vuepress%2fplugin-back-to-top", | ||
"scope": "@vuepress", | ||
"rawSpec": "2.0.0-beta.26", | ||
"saveSpec": null, | ||
"fetchSpec": "2.0.0-beta.26" | ||
"name": "vuepress-plugin-archive", | ||
"version": "1.0.0-beta.1", | ||
"description": "为Vuepress静态站点提供在线发布,编辑说说功能,支持图片上传,点赞,评论,用户登录,注册等功能 Provide online publishing, editing and talking functions for Vuepress static sites, support image upload, like, comment, user login, registration and other functions", | ||
"main": "./lib/node/index.js", | ||
"directories": { | ||
"lib": "lib" | ||
}, | ||
"_requiredBy": [ | ||
"/@vuepress/theme-default" | ||
], | ||
"_resolved": "https://registry.nlark.com/@vuepress/plugin-back-to-top/download/@vuepress/plugin-back-to-top-2.0.0-beta.26.tgz", | ||
"_shasum": "c5beaed93adbb5897658b9a8072000b3dad8f8b0", | ||
"_spec": "@vuepress/plugin-back-to-top@2.0.0-beta.26", | ||
"_where": "D:\\theme-aurora\\theme-aurora\\node_modules\\@vuepress\\theme-default", | ||
"author": { | ||
"name": "meteorlxy" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/vuepress/vuepress-next/issues" | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"commit": "git add . && git cz" | ||
}, | ||
"bundleDependencies": false, | ||
"dependencies": { | ||
"@vuepress/core": "2.0.0-beta.26", | ||
"@vuepress/utils": "2.0.0-beta.25", | ||
"ts-debounce": "^3.0.0", | ||
"vue": "^3.2.3" | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/vuepress-aurora/vuepress-plugin-archive" | ||
}, | ||
"deprecated": false, | ||
"description": "VuePress plugin - back to top", | ||
"files": [ | ||
"lib" | ||
], | ||
"gitHead": "6cbf3e07b2871383cebad5180fcbb02d69c79566", | ||
"homepage": "https://github.com/vuepress", | ||
"keywords": [ | ||
"vuepress-plugin", | ||
"vuepress", | ||
"vuepress-theme", | ||
"plugin", | ||
"top" | ||
"vue", | ||
"vuepress-plugin", | ||
"vuepress archive", | ||
"vuepress2", | ||
"archive", | ||
"vuepress-plugin-timeline", | ||
"vuepress timeline" | ||
], | ||
"license": "MIT", | ||
"main": "lib/node/index.js", | ||
"name": "@vuepress/plugin-back-to-top", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/vuepress/vuepress-next.git" | ||
}, | ||
"scripts": { | ||
"build": "tsc -b tsconfig.build.json", | ||
"clean": "rimraf lib *.tsbuildinfo", | ||
"copy": "cpx \"src/**/*.{css,svg}\" lib" | ||
"author": "qsyyke", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/vuepress-aurora/vuepress-plugin-archive/issues" | ||
}, | ||
"types": "lib/node/index.d.ts", | ||
"version": "2.0.0-beta.26" | ||
"homepage": "https://aurora.xcye.xyz/plugin/archive/index.html", | ||
"publishConfig": { | ||
"tag": "next" | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
Aurora-plugin/vuepress-plugin-music-player/lib/client/clientAppEnhance.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
declare const _default: import("@vuepress/client").ClientAppEnhance; | ||
export default _default; | ||
|
14 changes: 14 additions & 0 deletions
14
Aurora-plugin/vuepress-plugin-music-player/lib/client/clientAppEnhance.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { defineClientAppEnhance } from '@vuepress/client'; | ||
import AuroraMusic from "./components/AuroraMusic"; | ||
import './style/aurora.music.css' | ||
import $ from "jquery"; | ||
import {createApp} from "vue"; | ||
export default defineClientAppEnhance(({ app, router }) => { | ||
app.component("AuroraMusic",AuroraMusic) | ||
|
||
let posterAppend = $("<div class=\"aurora-music-append\" id=\"aurora-music-append\">").get(0) | ||
$("#app").get(0).appendChild(posterAppend) | ||
createApp(AuroraMusic,{ | ||
app: app, | ||
}).mount("#aurora-music-append") | ||
}); |
Oops, something went wrong.