I don't know if this might work, because I am more familiar working with the vue CLI and with a project created with the CLI is pretty common to have each component in his own .vue file rather many components in a single file.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
What if i want this two (or more) components import in "one line import".
Like:
import components from 'someWay/components.js';
What it looks like?
interesting question, I think you have to register them like this:
import components from 'someWay/components.js';
export default {
components: {
components.MyFirstChild,
components.MySecondChild,
.....
......
}
}
I don't know if this might work, because I am more familiar working with the vue CLI and with a project created with the CLI is pretty common to have each component in his own .vue file rather many components in a single file.