Comments (3)
Just tested with vue 2.5.3 and I don't have this error message. Can you provide more informations ?
from vue-openapi.
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.
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)
- Vue 2.2.* support? HOT 2
- Export Documentation to static HTML HOT 2
- Missing auth options/sections HOT 1
- Support for Vue2? HOT 2
- OpenAPI 3.0.0-RC0 (or later) compatibility HOT 7
- Support for vue 3.
- Improve schema display
- Specify body in requests
- Improve display of style and explode values for parameters
- Show full request url
- Improve display of request and response
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-openapi.