Giter Club home page Giter Club logo

Comments (3)

nicolas-bonnel avatar nicolas-bonnel commented on July 28, 2024

Just tested with vue 2.5.3 and I don't have this error message. Can you provide more informations ?

from vue-openapi.

jflaflamme avatar jflaflamme commented on July 28, 2024

Just re-upgraded and can see the error..

I can also confirm you that if I change slot= to slot-scope= in RequestForm.vue error is gone since Vue 2.5 slot is replaced by slot-scope as the warning :)

Should I make a PR?


(Emitted value instead of an instance of Error) the "scope" attribute for scoped slots have been deprecated and replaced by "sl
ot-scope" since 2.5. The new "slot-scope" attribute can also be used on plain elements in addition to <template> to denote scop
ed slots.

 @ ./node_modules/vue-openapi/src/RequestForm.vue 10:23-199
 @ ./node_modules/babel-loader/lib?{"cacheDirectory":true,"presets":[["env",{"modules":false,"targets":{"browsers":["> 2%"],"ug
lify":true}}],"es2015","stage-2"],"plugins":["transform-object-rest-spread","transform-runtime","transform-async-to-generator",
"lodash","transform-object-assign"],"comments":false}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./node_modu
les/vue-openapi/src/OpenApi.vue
 @ ./node_modules/vue-openapi/src/OpenApi.vue
 @ ./node_modules/babel-loader/lib?{"cacheDirectory":true,"presets":[["env",{"modules":false,"targets":{"browsers":["> 2%"],"ug
lify":true}}],"es2015","stage-2"],"plugins":["transform-object-rest-spread","transform-runtime","transform-async-to-generator",
"lodash","transform-object-assign"],"comments":false}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./resources```

from vue-openapi.

nicolas-bonnel avatar nicolas-bonnel commented on July 28, 2024

This is a warning message, the code will still work. slot-scope is new in vue 2.5 and vue-openapi should still work with 2.2 <= Vue.js < 2.5

from vue-openapi.

Related Issues (12)

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.