-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use vextab in angular-cli #106
Comments
@lilworks You got some progress ? |
Yes, this won't work in VueJS either. If you try to import vextab with all of the imports are undefined. |
After releasing a compiled UMD #113 to npm, this issue should be fixed. |
But does it work now? #113 seems to have been merged but I still get the same error when trying to import vextab in Vue.js. |
I think the version has not been published to npm yet. |
Hi, it's been a while and I wanted to give it another shot. @leocaseiro were you able to use vextab by installing it directly from this repo and not from npm? Could you give me a little nudge into the right direction? |
Has there been any update here? Really looking forward to using VexTab with a react project I'm working on. @leocaseiro were you able to get this to work? |
@pmarsceill Here is how I did to import it.
My
I could then use it like:
|
I got that working for VexFlow as you described @stephaneeybert , but to use the VexTab syntax there is no way to import the |
For those curious, I got the import { Vex, Artist, VexTab } from '../../../vendor/vextab/dist/main.prod' Not ideal, but it works for now. |
I've tried what @pmarsceill suggested in vue 3.3.11 with vite. I've gotten close I ran
then I copied the
but I still receive an import error.
I'll continue trying to figure this out, but @0xfe, is there any chance we could get something published that defines these exports? |
This isn't fixed, can we please look into this? |
I'm trying to get the vextab api in an angular-cli project. I manage to get Vexflow working but I can't get
import * as vextab from 'vextab'
here a stackblitz
(https://stackblitz.com/edit/angular-umnmcs)
Any suggestion?
The text was updated successfully, but these errors were encountered: