smart-webcomponents icon indicating copy to clipboard operation
smart-webcomponents copied to clipboard

Router using path to an external HTML is not functioning

Open dawud-tan opened this issue 1 year ago • 0 comments

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 gambar

Desktop (please complete the following information):

  • OS: fedora
  • Browser: Firefox
  • Version: any

dawud-tan avatar May 23 '23 07:05 dawud-tan