Giter Site home page Giter Site logo

vue3--v-for--bug's Introduction

Vue 3 Plugin Error - v-for

Description

Test-component plugin throws warning Invalid VNode type: Symbol(Fragment), and will not render the v-for part of the markup.

If I remove the v-for part of the template the warning disapears.

Similar Issues

Users have reported similar problems with use of 'slot' in components...

Plugins with vue as a dependency do not work

| ...it works fine using Yarn, but not with NPM... This is somewhat expected because a plugin should never list vue as its direct dependency, because it must always use whatever version of Vue that the consuming application is using. A plugin should list vue as a dev/peer dependency and externalize it (if there is a build step).

Included example does just this. The test-component only uses vue as a dev and peer dependency

[Vue 3] Invalid VNode Symbol(Fragment) when using an external component with a slot

Interestingly a user in this thread stated that their issue went away, but they are using yarn.

How-to Reproduce

  1. clone this repo
  2. navigate to the test-component directory and use npm install
  3. navigate to the app directory and use npm install
  4. start the application from the app directory with npm run start
  5. navigate to localhost:8080 from a web browser and the Invalid VNode type: Symbol(Fragment) warning will show up in the console

vue3--v-for--bug's People

Contributors

yvvas avatar

Watchers

 avatar

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.