Giter VIP home page Giter VIP logo

Comments (10)

justin-schroeder avatar justin-schroeder commented on June 24, 2024

I think this is just because your page does not have a root element.

from formkit.

Gardamuse avatar Gardamuse commented on June 24, 2024

I think this is just because your page does not have a root element.

Oh. Could you point out where I am missing a root element? Both app.vue and index.vue has a single div at the root which I thought would be enough.

app.vue

<template>
  <div>
    <NuxtPage />
  </div>
</template>

index.vue

<template>
  <div>
    <h1>index</h1>
    <FormKit type="text" />
  </div>
</template>

from formkit.

justin-schroeder avatar justin-schroeder commented on June 24, 2024

When i originally went to the page there was no <div> wrapper in your index.vue. With that in there do you still get errors?

from formkit.

Gardamuse avatar Gardamuse commented on June 24, 2024

@justin-schroeder Yes, I receive the error with the current reproduction repo.

from formkit.

justin-schroeder avatar justin-schroeder commented on June 24, 2024

@Gardamuse I see that now too. I think this is now addressed in the @next tag of @formkit/nuxt.

from formkit.

justin-schroeder avatar justin-schroeder commented on June 24, 2024

ok, actually delay on that 😂 more bugs to fix there....

from formkit.

justin-schroeder avatar justin-schroeder commented on June 24, 2024

Ok this is resolved with [email protected] which is now on the @next tag of @formkit/nuxt

from formkit.

root5427 avatar root5427 commented on June 24, 2024

Facing the same issue even though I'm using @formkit/nuxt with the next tag. Here is a minimal reproduction

from formkit.

justin-schroeder avatar justin-schroeder commented on June 24, 2024

@root5427 yep, there were still some issues, try again with the latest version of next (1.5.0-6a47acc) and it should be working better.

from formkit.

Gardamuse avatar Gardamuse commented on June 24, 2024

Great, thank you! I can confirm that it works for me now using the next tag!

from formkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.