feat: initial setup for nuxt devtools
This commit is contained in:
1
client/.nuxtrc
Normal file
1
client/.nuxtrc
Normal file
@ -0,0 +1 @@
|
||||
imports.autoImport=true
|
||||
15
client/app.vue
Normal file
15
client/app.vue
Normal file
@ -0,0 +1,15 @@
|
||||
<template>
|
||||
<Html>
|
||||
<Body h-screen>
|
||||
<NuxtLayout>
|
||||
<NuxtPage />
|
||||
</NuxtLayout>
|
||||
</Body>
|
||||
</Html>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
#__nuxt {
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
17
client/nuxt.config.ts
Normal file
17
client/nuxt.config.ts
Normal file
@ -0,0 +1,17 @@
|
||||
import { resolve } from 'pathe'
|
||||
import { PATH_CLIENT } from '../src/constants'
|
||||
|
||||
export default defineNuxtConfig({
|
||||
ssr: false,
|
||||
modules: [
|
||||
'@nuxt/devtools-ui-kit',
|
||||
],
|
||||
nitro: {
|
||||
output: {
|
||||
publicDir: resolve(__dirname, '../dist/client'),
|
||||
},
|
||||
},
|
||||
app: {
|
||||
baseURL: PATH_CLIENT,
|
||||
},
|
||||
})
|
||||
4
client/package.json
Normal file
4
client/package.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "nuxt-mongoose-client",
|
||||
"private": true
|
||||
}
|
||||
Reference in New Issue
Block a user