mirror of
https://github.com/unraid/api.git
synced 2026-01-03 23:19:54 -06:00
53 lines
1.3 KiB
TypeScript
53 lines
1.3 KiB
TypeScript
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||
export default defineNuxtConfig({
|
||
ssr: false,
|
||
devServer: {
|
||
port: 4321,
|
||
},
|
||
modules: [
|
||
'@vueuse/nuxt',
|
||
'@pinia/nuxt',
|
||
'@nuxtjs/tailwindcss',
|
||
'nuxt-custom-elements',
|
||
],
|
||
components: [
|
||
{ path: '~/components/Brand', prefix: 'Brand' },
|
||
{ path: '~/components/UserProfile', prefix: 'Upc' },
|
||
'~/components',
|
||
],
|
||
// runtimeConfig: {
|
||
// public: { // will be exposed to the client-side
|
||
// callbackKey: '', // set in .env – https://nuxt.com/docs/guide/going-further/runtime-config#environment-variables
|
||
// }
|
||
// },
|
||
customElements: {
|
||
entries: [
|
||
{
|
||
name: 'ConnectComponents',
|
||
tags: [
|
||
{
|
||
name: 'ConnectAuth',
|
||
path: '@/components/Auth.ce',
|
||
},
|
||
{
|
||
name: 'ConnectDownloadApiLogs',
|
||
path: '@/components/DownloadApiLogs.ce',
|
||
},
|
||
{
|
||
name: 'ConnectKeyActions',
|
||
path: '@/components/KeyActions.ce',
|
||
},
|
||
{
|
||
name: 'ConnectUserProfile',
|
||
path: '@/components/UserProfile.ce',
|
||
},
|
||
{
|
||
name: 'ConnectWanIpCheck',
|
||
path: '@/components/WanIpCheck.ce',
|
||
},
|
||
],
|
||
},
|
||
],
|
||
},
|
||
});
|