mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-25 01:10:40 +01:00
playground(css): source to root dir
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
@import "tailwindcss" theme(static);
|
@import "tailwindcss" theme(static) source("../../../..");
|
||||||
@import "@nuxt/ui";
|
@import "@nuxt/ui";
|
||||||
|
|
||||||
@source "../../../../playground/";
|
|
||||||
|
|
||||||
@theme static {
|
@theme static {
|
||||||
--font-sans: 'Public Sans', sans-serif;
|
--font-sans: 'Public Sans', sans-serif;
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import './assets/css/main.css'
|
|||||||
|
|
||||||
import { createApp, defineAsyncComponent, ref } from 'vue'
|
import { createApp, defineAsyncComponent, ref } from 'vue'
|
||||||
import { createRouter, createWebHistory } from 'vue-router'
|
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'
|
import App from './app.vue'
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ Object.entries(components).forEach(([path, component]) => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
app.use(router)
|
app.use(router)
|
||||||
app.use(uiPlugin)
|
app.use(ui)
|
||||||
|
|
||||||
// @ts-expect-error unknown global property
|
// @ts-expect-error unknown global property
|
||||||
globalThis.useFetch = async (url: string, options: RequestInit & { transform?: (data) => any } = {}) => {
|
globalThis.useFetch = async (url: string, options: RequestInit & { transform?: (data) => any } = {}) => {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
@import "tailwindcss" theme(static);
|
@import "tailwindcss" theme(static) source("../../../..");
|
||||||
@import "@nuxt/ui";
|
@import "@nuxt/ui";
|
||||||
|
|
||||||
@theme static {
|
@theme static {
|
||||||
|
|||||||
Reference in New Issue
Block a user