Vue Router New Tab

Replaces your new tab page with a small Vue app you can navigate across routes.

Runs on Chrome, Edge, Firefox · Manifest V3 · Surfaces: new tab, background service worker · Styling: CSS · Level: beginner · Framework: vue

Create this project

npx extension@latest create my-newtab-vue-router --template newtab-vue-router
cd my-newtab-vue-router
npm install
npm run dev

What it is for

  • A multi-route new tab app with client-side routing
  • Vue Router running inside an extension page
  • Reference for hash history routing with no server

First steps

  • Run npm run dev to launch the extension
  • Open a new tab and follow the links to move between routes
  • Add a route in src/newtab/router.ts and it renders with no server

Permissions it asks for

This template requests no permissions.

extension.devDocumentation for extension.dev