Skip to content

Commit b0f3180

Browse files
committed
fix demo docs
1 parent 4671062 commit b0f3180

16 files changed

+26
-99
lines changed

demo/favicon.ico

-4.19 KB
Binary file not shown.

demo/index.html

-19
This file was deleted.

docs/_config.yml

-5
This file was deleted.

demo/assets/index.3c560780.js renamed to docs/assets/index.994c7384.js

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

docs/css/chunk-vendors.3bd70743.css

-10
This file was deleted.

docs/index.html

+19-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
1-
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/vue-audio-visual/favicon.ico><title>Webpack App</title><link href=/vue-audio-visual/css/chunk-vendors.3bd70743.css rel=preload as=style><link href=/vue-audio-visual/js/app.98408e9c.js rel=preload as=script><link href=/vue-audio-visual/js/chunk-vendors.a78d81ac.js rel=preload as=script><link href=/vue-audio-visual/css/chunk-vendors.3bd70743.css rel=stylesheet></head><body><noscript><strong>We're sorry but Webpack App doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/vue-audio-visual/js/chunk-vendors.a78d81ac.js></script><script src=/vue-audio-visual/js/app.98408e9c.js></script></body></html>
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.994c7384.js"></script>
12+
</head>
13+
14+
<body>
15+
<div id="app"></div>
16+
17+
</body>
18+
19+
</html>

docs/js/app.98408e9c.js

-2
This file was deleted.

docs/js/app.98408e9c.js.map

-1
This file was deleted.

docs/js/chunk-vendors.a78d81ac.js

-56
This file was deleted.

docs/js/chunk-vendors.a78d81ac.js.map

-1
This file was deleted.

docs/logo.png

-7.59 KB
Binary file not shown.
File renamed without changes.

public/music.mp3

-1.04 MB
Binary file not shown.

src/App.vue

+5-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import AVWaveform from '@/components/AVWaveform.vue'
77
import AVMedia from '@/components/AVMedia.vue'
88
import { useUserMedia } from '@vueuse/core'
99
10-
const audioSrc = ref('./music.mp3')
10+
const audioSrc = ref('./file_example_MP3_1MG.mp3')
1111
const showMedia = ref(false)
1212
const { stream, enabled } = useUserMedia()
1313
@@ -22,7 +22,10 @@ watch(enabled, () => {
2222
<div class="row mb-5">
2323
<div class="col text-center">
2424
<img alt="Plugin logo" class="logo" src="./assets/logo.png" />
25-
<h1> <small> Vue-Audio-Visual Vue plugin demo </small> </h1>
25+
<h2> <a href="">Vue-Audio-Visual</a> Vue plugin demo </h2>
26+
<figcaption class="blockquote-footer mt-2">
27+
Audio source: https://file-examples.com/wp-content/uploads/2017/11/file_example_MP3_1MG.mp3
28+
</figcaption>
2629
</div>
2730
</div>
2831

vite.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default defineConfig({
1717
https: true
1818
},
1919
build: {
20-
outDir: 'demo'
20+
outDir: 'docs'
2121
},
2222
test: {
2323
globals: true,

0 commit comments

Comments
 (0)