[feature request] add autocompletion for props in <template> for imported components
See original GitHub issueWould be nice to have autocompletion feature for props for imported components and add required props by default
some-component.vue
export default {
props: {
red: {
type: Boolean,
required: true,
}
},
}
another-component.vue
<some-component />
here would be nice to have suggestion about possible props, or even better - add required props by default
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Nuxt / Vue 2 + Typescript – VS Code props Autocomplete
The props autocompletion is an intellisense feature, after some research I manage to find a solution for it on VS Code.
Read more >Using Autocomplete with React - Algolia
This guide shows how to create a React Autocomplete component. It uses the useRef and useEffect hooks to create and mount the component....
Read more >How to Use The Autocomplete Component in Material-UI
import React from 'react'; import TextField from '@material-ui/core/TextField'; import Autocomplete from '@material-ui/lab/Autocomplete'; import ...
Read more >A Guide on Material UI AutoComplete in React - Refine Dev
This article will dive deep into the Material UI Autocomplete component, highlight its accompanied features and explore a potential use case ...
Read more >How to Add AutoComplete Input to Your Vue.js App
render-suggestion prop displays the selection in a way you prefer by passing in a function to the prop. The component-attr-class-autosuggest- ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If that’s your cause you should follow https://github.com/vuejs/vetur/issues/1288. For the other one see #1571. @ktsn Is it that you looked into this and with Vue 2 typing it’s impossible?
I need some help, I want to get the autocomplete like the picture above, but I can only see
:red
like this. What should I do to getred
? I am using nuxt with typescript