File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -58,12 +58,12 @@ export interface ModuleOptions {
5858 statusTap ?: boolean
5959 swipeBackEnabled ?: boolean
6060 tabButtonLayout ?:
61- | 'icon-top'
62- | 'icon-start'
63- | 'icon-end'
64- | 'icon-bottom'
65- | 'icon-hide'
66- | 'label-hide'
61+ | 'icon-top'
62+ | 'icon-start'
63+ | 'icon-end'
64+ | 'icon-bottom'
65+ | 'icon-hide'
66+ | 'label-hide'
6767 toastEnter ?: AnimationBuilder
6868 toastLeave ?: AnimationBuilder
6969 }
@@ -119,6 +119,9 @@ export default defineNuxtModule<ModuleOptions>({
119119
120120 // Set up Ionic Core
121121 addPlugin ( resolve ( runtimeDir , 'ionic' ) )
122+ nuxt . options . vite . optimizeDeps = nuxt . options . vite . optimizeDeps || { }
123+ nuxt . options . vite . optimizeDeps . include = nuxt . options . vite . optimizeDeps . include || [ ]
124+ nuxt . options . vite . optimizeDeps . include . push ( '@ionic/vue' )
122125
123126 // Add auto-imported components
124127 IonicBuiltInComponents . map ( name =>
You can’t perform that action at this time.
0 commit comments