Remove /#/ from link?

I’m trying to write a single page application and I’m using this class for routing:
class code

then I add routes

export const routes = [
  {
    path: /task-list/,
    callback: () => {
      console.log('callback');
    }
  }
];

export const router = new Router({
  root: '/task-list',
  mode: 'hash',
  routes
});

I expect that when loading the site, I will get a link localhost:3000/task-list, but for some reason I get localhost:3000/#/task-list, I can’t figure out how to remove this /#/