spaceavocado/svelte-router

Home absolute path

sysmat opened this issue · 4 comments

When navigating by name to HOME link should be relative not absolute

{
        path: "/",
        name: "HOME",
        component: Todos
      },
...
<RouterLink to={{ name: 'HOME' }}>Home</RouterLink>

When using web application server to serve svelte app there is problem(http://localhost:8080/svelte/):

  • no rote can be found so Todos is not showen
  • when navigation by RouterLink Home then url is http://localhost:8080/

``

It would be great if template have support for the latest sass-loader VER 8

@sysmat the template has been updated https://github.com/spaceavocado/svelte-router-template, it now uses the sass-loader v8, besides other updates