-
Notifications
You must be signed in to change notification settings - Fork 14
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
How to run it with Framework7-Vue? #5
Comments
I'm not sure I understand the problems here. I'm not familiar with F7. This library is published as standard JS modules. Hopefully your tooling supports that, but if not you should be able to use a tool like Rollup, Webpack, or Babel to compile to the module format you need. Then you should be able to import the element and just use The element uses shadow DOM to encapsulate its internals. They are not intended to be visible in the DOM. All current major browsers support Shadow DOM. I'm not going to support IE11. |
in meantime i also tried it with pure Vue3 I tried something like this (in XYZ.vue): import {ChessBoardElement} from 'chessboard-element'; export default { and some other way...but nothing really change. What else i should do to make it work similar to the "startPos Example"? I do get these errors (which prob. the reason why its not working --- but i cant get rid of them, no matter what i tried)
|
Hi,
i have problems with F7Vue.
The only way it works is with "require('yrlib") => So, yr install docu not (for me!)
inside the vue template i use these "chess-board" tags, but that is only working, if the markup is already visible at startup (not to say, that my IDE is unhappy with this tags).
Width also not working, but i just use "f7-col" for it.
Well, my MAIN problem is invisible markup at startup of component. with chessboard inside.
Can y help me?
The text was updated successfully, but these errors were encountered: