Skip to content
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

Vuetify 3 and Altcha #1

Open
lenn1 opened this issue Sep 25, 2024 · 1 comment
Open

Vuetify 3 and Altcha #1

lenn1 opened this issue Sep 25, 2024 · 1 comment

Comments

@lenn1
Copy link

lenn1 commented Sep 25, 2024

Hi,

i got your example working with Vue3 and a Java Spring Backend. No Problems.

We use Vuetify3 as our Frontend Components Library and if i try to use Altcha with that nothing will render. In my Browser Console following Error pops up:

index.ts:17 [Vue warn]: Component is missing template or render function: <!----> at <Anonymous ref="altchaWidget" style= {--altcha-max-width: '50%'} debug="" ... > at <Altcha payload="" onUpdate:payload=fn > at <VContainer class="fill-height" > at <HelloWorld> at <Index onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< Proxy(Object) {__v_skip: true} > > at <RouterView> at <VMain> at <VApp> at <App>

Steps to reproduce:

  • npm create vuetify@latest.
  • npm install altcha --save
  • Add the given Altcha.vue and the code to call it in the HelloWorld.vue.
  • npm run dev
  • open browser: localhost:3000
  • see browser console.
@ovx
Copy link
Contributor

ovx commented Oct 18, 2024

Hi, sorry for the late reply. I believe it's an issue with configuration, in vite you have to enable support for web components (https://github.com/altcha-org/altcha-starter-vue-ts/blob/main/vite.config.ts, isCustomComponent), there should be something similar for vuetify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants