We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
页面初始化化时调用new syncit.Embed 报错 报错信息: TypeError: Cannot read property 'Embed' of undefined 代码如下:<script> import syncit from '@syncit/ui/dist/index' import '@syncit/ui/dist/style.css' import { LocalStorageTransporter } from '@syncit/transporter' export default { name: 'Test', mounted() { new syncit.Embed({ target: document.body, props: { createTransporter() { return new LocalStorageTransporter({ role: '11', uid: '22' }) } } }) } } </script>
<script> import syncit from '@syncit/ui/dist/index' import '@syncit/ui/dist/style.css' import { LocalStorageTransporter } from '@syncit/transporter' export default { name: 'Test', mounted() { new syncit.Embed({ target: document.body, props: { createTransporter() { return new LocalStorageTransporter({ role: '11', uid: '22' }) } } }) } } </script>
The text was updated successfully, but these errors were encountered:
import * as syncit from '@syncit/ui'
Sorry, something went wrong.
No branches or pull requests
页面初始化化时调用new syncit.Embed 报错
报错信息: TypeError: Cannot read property 'Embed' of undefined
代码如下:
<script> import syncit from '@syncit/ui/dist/index' import '@syncit/ui/dist/style.css' import { LocalStorageTransporter } from '@syncit/transporter' export default { name: 'Test', mounted() { new syncit.Embed({ target: document.body, props: { createTransporter() { return new LocalStorageTransporter({ role: '11', uid: '22' }) } } }) } } </script>
The text was updated successfully, but these errors were encountered: