hunter-isaiah96 / vue-wave-sufver Goto Github PK
View Code? Open in Web Editor NEWVue Wrapper for wavesurfer.js
Vue Wrapper for wavesurfer.js
Pretty new to Vue, so bear with me if its a bad report.
It seems that this module does not export the component but always tries to export it as a plugin. Thats why when I do following in a nuxt page:
import VueWaveSurfer from 'vue-wave-surfer'
export default {
components: {
VueWaveSurfer
}
}
get following error in console:
[Vue warn]: Failed to mount component: template or render function not defined.
found in
---> <VueWaveSurfer>
...
the only current solution is to import the component directly as this:
import VueWaveSurfer from 'vue-wave-surfer/src/VueWaveSurfer'
export default {
components: {
VueWaveSurfer
}
}
shouldn't this work as first import though?
On: https://vuejsexamples.com/vue-wrapper-for-wavesurfer-js/
you've set the install to vue-wavesurfer. The correct is vue-wave-surfer.
Hello, I installed wavesurfer JS audio wave display, but the wave loading speed is very slow. You need to save the wave to the database to load the wave quickly. Is it possible to solve this problem.
(wavesurfer.js https://wavesurfer-js.org/ )
Just like them
https://icons8.com/music/search/beach
https://tunetank.com/tracks/
This is my website
http://www.partymusic.cn/
我的邮件 [email protected]
Getting this error: 'Cannot use import statement outside a module''
Tried loading it in as through a component as well as globally with the same result.
Any idea how to import plugins (e.g. Cursor) for Nuxt?
import Cursor from 'wavesurfer.js/dist/plugin/wavesurfer.cursor';
Gives me errors cause of SSR.
THank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.