Answer the question
In order to leave comments, you need to log in
Is it possible to connect a module from a function according to ES6?
Does this connection of modules comply with the standard:
welcome() {
import Userbar from 'views/Userbar'
import Welcome from'views/layouts/Welcome'
import Footer from 'views/Footer'
this.setViews([
new Userbar({docked: false}),
new Welcome(),
new Footer(),
])
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question