mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
19 lines
460 B
JavaScript
19 lines
460 B
JavaScript
import { createApp, setDevtoolsHook, h } from 'vue'
|
|
import register from '@playwright/experimental-ct-vue/register'
|
|
|
|
import Button from './components/Button.vue'
|
|
import DefaultSlot from './components/DefaultSlot.vue'
|
|
import NamedSlots from './components/NamedSlots.vue'
|
|
|
|
register({
|
|
Button,
|
|
DefaultSlot,
|
|
NamedSlots
|
|
}, {
|
|
// This is only needed if you are using Vue CLI (webpack).
|
|
// Vite does not need this line.
|
|
createApp,
|
|
setDevtoolsHook,
|
|
h
|
|
})
|