This commit is contained in:
5
.playground/app.config.ts
Normal file
5
.playground/app.config.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export default defineAppConfig({
|
||||
myLayer: {
|
||||
name: 'My amazing Nuxt layer (overwritten)'
|
||||
}
|
||||
})
|
||||
12
.playground/nuxt.config.ts
Normal file
12
.playground/nuxt.config.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { fileURLToPath } from 'node:url'
|
||||
|
||||
export default defineNuxtConfig({
|
||||
extends: ['..'],
|
||||
modules: ['@nuxt/eslint'],
|
||||
eslint: {
|
||||
config: {
|
||||
// Use the generated ESLint config for lint root project as well
|
||||
rootDir: fileURLToPath(new URL('..', import.meta.url))
|
||||
}
|
||||
}
|
||||
})
|
||||
11
.playground/pages/index.vue
Normal file
11
.playground/pages/index.vue
Normal file
@@ -0,0 +1,11 @@
|
||||
<template>
|
||||
<div class="p-6 space-y-4">
|
||||
<MalioInput v-model="v" label="Email" placeholder="you@example.com" />
|
||||
<pre class="text-xs">{{ v }}</pre>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const v = ref('')
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user