mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
chore: add playground
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
"build": "nuxt-module-build",
|
||||
"prepack": "pnpm build",
|
||||
"dev": "nuxi dev docs",
|
||||
"play": "nuxi dev playground",
|
||||
"build:docs": "nuxi generate docs",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix",
|
||||
|
||||
7
playground/app.vue
Normal file
7
playground/app.vue
Normal file
@@ -0,0 +1,7 @@
|
||||
<template>
|
||||
<UContainer class="min-h-screen flex items-center">
|
||||
<UCard class="flex-1 text-center">
|
||||
Welcome to the playground!
|
||||
</UCard>
|
||||
</UContainer>
|
||||
</template>
|
||||
7
playground/nuxt.config.ts
Normal file
7
playground/nuxt.config.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import module from '../src/module'
|
||||
|
||||
export default defineNuxtConfig({
|
||||
modules: [
|
||||
module
|
||||
]
|
||||
})
|
||||
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