You've already forked obsidian-visualiser
First reworks
This commit is contained in:
@@ -1,21 +1,13 @@
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
import DatabaseSync from './modules/database.sync/module';
|
||||
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2024-04-03',
|
||||
modules: [
|
||||
"@nuxtjs/color-mode",
|
||||
"nuxt-security",
|
||||
"@nuxtjs/tailwindcss",
|
||||
"@vueuse/nuxt",
|
||||
DatabaseSync
|
||||
'@nuxtjs/color-mode',
|
||||
'nuxt-security',
|
||||
'@nuxtjs/tailwindcss',
|
||||
'@vueuse/nuxt',
|
||||
'radix-vue/nuxt',
|
||||
],
|
||||
runtimeConfig: {
|
||||
dbFile: 'db.sqlite',
|
||||
templateFile: 'template.sqlite',
|
||||
session: {
|
||||
password: '699c46bd-9aaa-4364-ad01-510ee4fe7013'
|
||||
}
|
||||
},
|
||||
tailwindcss: {
|
||||
viewer: false,
|
||||
config: {
|
||||
@@ -23,7 +15,7 @@ export default defineNuxtConfig({
|
||||
extend: {
|
||||
boxShadow: {
|
||||
raw: '0 0 0 4px var(--tw-shadow-color)'
|
||||
}
|
||||
},
|
||||
},
|
||||
colors: {
|
||||
transparent: 'transparent',
|
||||
@@ -83,21 +75,13 @@ export default defineNuxtConfig({
|
||||
app: {
|
||||
pageTransition: false,
|
||||
layoutTransition: false
|
||||
},
|
||||
}/*,
|
||||
components: [
|
||||
{
|
||||
path: '~/components',
|
||||
pathPrefix: false,
|
||||
},
|
||||
],
|
||||
nitro: {
|
||||
experimental: {
|
||||
tasks: true,
|
||||
},
|
||||
scheduledTasks: {
|
||||
'0 */1 * * *': ['sync']
|
||||
}
|
||||
},
|
||||
]*/,
|
||||
security: {
|
||||
rateLimiter: false,
|
||||
headers: {
|
||||
@@ -106,5 +90,4 @@ export default defineNuxtConfig({
|
||||
}
|
||||
}
|
||||
},
|
||||
compatibilityDate: '2024-07-25',
|
||||
})
|
||||
Reference in New Issue
Block a user