mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-25 09:20:36 +01:00
chore: transform to module
This commit is contained in:
12
playground/app.config.ts
Normal file
12
playground/app.config.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
export default defineAppConfig({
|
||||
ui: {
|
||||
button: {
|
||||
base: 'font-semibold',
|
||||
variants: {
|
||||
color: {
|
||||
pink: 'bg-pink-500 text-white'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
7
playground/app.vue
Normal file
7
playground/app.vue
Normal file
@@ -0,0 +1,7 @@
|
||||
<template>
|
||||
<div class="max-w-7xl mx-auto py-24">
|
||||
<UButton color="green" truncate icon="i-heroicons-rocket-launch">
|
||||
Click
|
||||
</UButton>
|
||||
</div>
|
||||
</template>
|
||||
5
playground/nuxt.config.ts
Normal file
5
playground/nuxt.config.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
devtools: { enabled: true },
|
||||
modules: ['../src/module']
|
||||
})
|
||||
4
playground/tailwind.config.ts
Normal file
4
playground/tailwind.config.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import type { Config } from 'tailwindcss'
|
||||
|
||||
export default <Partial<Config>>{
|
||||
}
|
||||
3
playground/tsconfig.json
Normal file
3
playground/tsconfig.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"extends": "./.nuxt/tsconfig.json"
|
||||
}
|
||||
Reference in New Issue
Block a user