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

Files in this template

  • extension.config.js
  • src/background.js
  • src/images/icon-128.png
  • src/images/icon-16.png
  • src/images/icon-32.png
  • src/images/icon-48.png
  • src/images/icon-64.png
  • src/images/icon.png
  • src/manifest.json
  • src/newtab/NewTabApp.vue
  • src/newtab/index.html
  • src/newtab/router.ts
  • src/newtab/scripts.ts
  • src/newtab/shims-vue.d.ts
  • src/newtab/styles.css
  • src/newtab/views/PageView.vue

extension.devDocumentation for extension.dev