Skip to content

Commit 225b447

Browse files
committed
upgrade with Vue3 composable API
1 parent c94687b commit 225b447

File tree

106 files changed

+6655
-77293
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+6655
-77293
lines changed

.eslintrc.cjs

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/* eslint-env node */
2+
require('@rushstack/eslint-patch/modern-module-resolution')
3+
4+
module.exports = {
5+
'root': true,
6+
'extends': [
7+
'plugin:vue/vue3-essential',
8+
'eslint:recommended',
9+
'@vue/eslint-config-typescript/recommended'
10+
],
11+
'ignorePatterns': ['demo/'],
12+
'parserOptions': {
13+
'ecmaVersion': 'latest'
14+
},
15+
'rules': {
16+
'keyword-spacing': ['error', { 'after': true, 'before': true }],
17+
'space-infix-ops': 'error',
18+
'arrow-spacing': 'error',
19+
'comma-spacing': ['error', { 'before': false, 'after': true }],
20+
'indent': ['error', 2]
21+
}
22+
}

.gitignore

+18-16
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
1-
.DS_Store
2-
node_modules/
1+
# Logs
2+
logs
3+
*.log
34
npm-debug.log*
45
yarn-debug.log*
56
yarn-error.log*
6-
coverage/
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
.DS_Store
12+
dist
13+
dist-ssr
14+
coverage
15+
*.local
16+
17+
/cypress/videos/
18+
/cypress/screenshots/
719

820
# Editor directories and files
21+
.vscode/*
22+
!.vscode/extensions.json
923
.idea
10-
.vscode
1124
*.suo
1225
*.ntvs*
1326
*.njsproj
1427
*.sln
15-
# Swap
16-
[._]*.s[a-v][a-z]
17-
[._]*.sw[a-p]
18-
[._]s[a-v][a-z]
19-
[._]sw[a-p]
20-
21-
# Session
22-
Session.vim
23-
24-
# Temporary
25-
.netrwhist
26-
*~
28+
*.sw?

.vscode/extensions.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
3+
}

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
- [Issues](#issues)
2626
- [License](#license)
2727

28+
---
29+
###UPDATE NOTES!!!
30+
31+
Plugin current version is compatibale only with Vue v3. For Vue2 use plugin version 2.5.0. See [install](#install-and-setup) chapter for details.
32+
---
33+
2834
## Overview
2935
An audio spectrum visualizer plugin for [VueJS](https://vuejs.org/) framework. It is built with HTML5
3036
[Web Audio API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API) and compatible with all browsers that support HTML5 audio API.
@@ -102,7 +108,10 @@ Install using npm
102108
```
103109
npm install --save vue-audio-visual
104110
```
105-
111+
for Vue 2 install version 2.5.0
112+
```
113+
114+
```
106115
Enable plugin in main.js:
107116
```javascript
108117
import Vue from 'vue'

babel.config.js

-5
This file was deleted.

demo/.browserslistrc

-2
This file was deleted.

demo/.editorconfig

-5
This file was deleted.

demo/.eslintrc.js

-17
This file was deleted.

demo/.gitignore

-21
This file was deleted.

demo/README.md

-6
This file was deleted.

demo/assets/index.3c560780.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

demo/babel.config.js

-5
This file was deleted.
File renamed without changes.

demo/index.html

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8" />
6+
<link rel="icon" href="/favicon.ico" />
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
9+
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
10+
<title>Vue audio visual plugin demo</title>
11+
<script type="module" crossorigin src="/assets/index.3c560780.js"></script>
12+
</head>
13+
14+
<body>
15+
<div id="app"></div>
16+
17+
</body>
18+
19+
</html>
File renamed without changes.

0 commit comments

Comments
 (0)