mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 18:00:43 +01:00
playground(css): source to root dir
This commit is contained in:
@@ -2,7 +2,7 @@ import './assets/css/main.css'
|
||||
|
||||
import { createApp, defineAsyncComponent, ref } from 'vue'
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import uiPlugin from '@nuxt/ui/vue-plugin'
|
||||
import ui from '@nuxt/ui/vue-plugin'
|
||||
|
||||
import App from './app.vue'
|
||||
|
||||
@@ -30,7 +30,7 @@ Object.entries(components).forEach(([path, component]) => {
|
||||
})
|
||||
|
||||
app.use(router)
|
||||
app.use(uiPlugin)
|
||||
app.use(ui)
|
||||
|
||||
// @ts-expect-error unknown global property
|
||||
globalThis.useFetch = async (url: string, options: RequestInit & { transform?: (data) => any } = {}) => {
|
||||
|
||||
Reference in New Issue
Block a user