Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
webfansplz committed Dec 19, 2023
1 parent 1973cae commit 4cd24f2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/playground/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { createApp } from 'vue'
import type { RouteRecordRaw } from 'vue-router'
import { createRouter, createWebHistory } from 'vue-router'

import { addCustomTab } from '@vue/devtools-next-api'

// import { devtools } from '@vue/devtools-next'
import App2 from './App.vue'
import App from './App.preview.vue'
Expand Down Expand Up @@ -50,6 +52,18 @@ const router2 = createRouter({
routes,
})

addCustomTab({
name: 'vueuse',
// @unocss-include
icon: 'i-logos-vueuse',
title: 'VueUse',
view: {
type: 'iframe',
src: 'https://vueuse.org/',
},
category: 'app',
})

app.use(router)
app.use(pinia)

Expand Down

0 comments on commit 4cd24f2

Please sign in to comment.