Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
Something went wrong. Try again.
TypeScript
12345678910111213141516import { createApp } from 'vue'import App from './App.vue'import { directives, plugins } from './global-setup'
const app = createApp(App)
plugins.forEach((plugin) => { app.use(plugin())})
Object.entries(directives).forEach(([name, directive]) => { app.directive(name, directive)})
app.mount('#app')