File "module.js"

Full Path: /home/warrior1/public_html/wp-content/plugins/elementor/app/modules/import-export/assets/js/module.js
File size: 357 bytes
MIME-type: text/x-java
Charset: utf-8

import router from '@elementor/router';

import Import from './import';
import Export from './export';

export default class ImportExport {
	routes = [
		{
			path: '/import/*',
			component: Import,
		},
		{
			path: '/export/*',
			component: Export,
		},
	];

	constructor() {
		for ( const route of this.routes ) {
			router.addRoute( route );
		}
	}
}