smart-webcomponents
smart-webcomponents copied to clipboard
Router using path to an external HTML is not functioning
Describe the bug I got error when try to use router with path to an external HTML, http://183.81.158.230/smarthtml/coba/
To Reproduce
const router = new Smart.Router('tampilanUtamanya', '/coba');
router.setRoutes([{{
path: '/cip',
template: '.${mvc.basePath}/tentang/templatTentang.htm',
title: 'Tentangnya'
}]);
router.route('/');
Expected behavior template could be set with path to an external HTML
Screenshots
Desktop (please complete the following information):
- OS: fedora
- Browser: Firefox
- Version: any