11/**
2- * This file was automatically generated by simpleapp generator during initialization. It is changable.
3- * --remove-this-line-to-prevent-override--
4- * last change 2024-02-22
5- * author : Ks Tan
2+ * This file was automatically generated by simpleapp generator. Every
3+ * MODIFICATION OVERRIDE BY GENERATEOR
4+ * last change 2023-10-28
5+ * Author : Ks Tan
66 */
77import path from 'path'
88export default defineNuxtConfig({
@@ -27,6 +27,15 @@ export default defineNuxtConfig({
2727 }
2828 }
2929},
30+ app: {
31+ // pageTransition: {
32+ // name: 'slide-fade',
33+ // mode: 'out-in',
34+ // css: false,
35+
36+ // },
37+ // layoutTransition: { name: 'layout', mode: 'default' }
38+ },
3039tailwindcss: {
3140 // Options
3241 },
@@ -36,7 +45,7 @@ devServer: {
3645 modules: [
3746 // "@hebilicious/authjs-nuxt",
3847 '@nuxtjs/color-mode',
39- '@nuxtjs/device',
48+ '@nuxtjs/device',
4049 '@nuxtjs/i18n',
4150 'dayjs-nuxt',
4251 '@sidebase/nuxt-auth',
@@ -52,19 +61,18 @@ devServer: {
5261 ['defineStore', 'definePiniaStore'], // import { defineStore as definePiniaStore } from 'pinia'
5362 ],
5463 }],
55-
56-
57-
58- ],
64+ ],
65+ dayjs:{
66+ plugins: [ 'utc', 'duration']
67+ },
5968 device: {
6069 refreshOnResize: true
61- },
70+ },
6271 i18n: {
6372 lazy: true,
6473 langDir: "lang/",
6574 strategy: "no_prefix",
66- locales: [
67-
75+ locales: [
6876 {
6977 code: "en",
7078 iso: "en",
@@ -82,17 +90,18 @@ devServer: {
8290 defaultLocale: "en",
8391 },
8492 primevue: {
93+
8594 options: {
86- //unstyled: true,
8795 ripple: true,
88- inputStyle: 'filled'
96+ inputStyle: 'filled',
97+
8998 },
9099 components: {
91100 include: '*',
92- exclude: ['chart']
101+ // exclude: ['chart']
93102 },
94103 directives: {
95- include: ['Ripple', 'Tooltip','BadgeDirective ','FocusTrap']
104+ include: ['Ripple', 'Tooltip','Badge ','FocusTrap']
96105 },
97106 cssLayerOrder: 'tailwind-base, primevue, tailwind-utilities',
98107 importPT: { as: 'SimpleAppPT', from: path.resolve(__dirname,'./assets/primevue/passthrough.ts') },
@@ -105,9 +114,6 @@ devServer: {
105114 auth: {
106115 globalAppMiddleware: false
107116 },
108- dayjs:{
109- plugins: [ 'utc', 'duration']
110- },
111117 // security: {
112118 // corsHandler:{
113119 // origin: '*' //| 'null' | (string | RegExp)[] | ((origin: string) => boolean);
@@ -136,10 +142,11 @@ devServer: {
136142 css: [
137143 'primeicons/primeicons.css',
138144 path.resolve(__dirname,'./assets/css/style.css'),
145+ path.resolve(__dirname,'./assets/css/listview.css'),
139146 path.resolve(__dirname,'./assets/css/calendar.css'),
140147 ],
141148 },
142-
149+
143150 // devtools: { enabled: true },
144151 // build: {
145152 // // transpile: ["primevue"]
0 commit comments