-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
components w/ Array definition #195
Comments
It seems that Vue warns you rather than Nuxt or Nuxt Components. You set up Lines 37 to 46 in 74b343d
import { NuxtConfig } from '@nuxt/types'
const config: NuxtConfig = {
components: [
{
path: './components/',
extensions: ['vue'],
},
'AppLink',
'SideMenu',
'DetailCard',
], Actually, since you are using Since there is no steps to reproduce provided, I can't be 100% sure, but I guess the error message you see is about the // Some.vue
export default {
components: [
{ /* Definition */ } // => Key is 0 and Vue will use it as the name of the component
]
} |
If your issue is resolved, it would be appreciated if you close it. |
Thank you for heads-up. Yes, I think we can close this issue for now.
|
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
In
@nuxt/components
, although I am appreciating that we can configurecomponents
, listing file path entries usingArray
like below, I always face a set of errors (described later) when compiling anuxt
app:Describe the solution you'd like
A clear and concise description of what you want to happen.
The errors like below were eliminated:
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Tuning
eslint
configuration or something else which may soup up my development activitiesAdditional context
Add any other context or screenshots about the feature request here.
Apologies if similar issue can be found as previously resolved, but I wanted to see its reference, Thank you in advance
The text was updated successfully, but these errors were encountered: