salix/modules/entry/front/main/index.js

15 lines
366 B
JavaScript
Raw Normal View History

2020-01-10 10:52:35 +00:00
import ngModule from '../module';
import ModuleMain from 'salix/components/module-main';
2024-05-31 10:41:38 +00:00
export default class Entry extends ModuleMain {
async $onInit() {
this.$state.go('home');
window.location.href = await this.vnApp.getUrl(`entry/`);
}
}
2020-01-10 10:52:35 +00:00
ngModule.vnComponent('vnEntry', {
controller: Entry,
template: require('./index.html')
});