chore: transform to module

This commit is contained in:
Benjamin Canac
2024-03-05 19:19:37 +01:00
parent 3c716219cf
commit f76ec5a376
14 changed files with 930 additions and 1024 deletions

12
playground/app.config.ts Normal file
View 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
View 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>

View File

@@ -0,0 +1,5 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ['../src/module']
})

View File

@@ -0,0 +1,4 @@
import type { Config } from 'tailwindcss'
export default <Partial<Config>>{
}

3
playground/tsconfig.json Normal file
View File

@@ -0,0 +1,3 @@
{
"extends": "./.nuxt/tsconfig.json"
}