This module exposes three keys for configuration: integrations, css and config:
export default defineNuxtConfig({
modules: ['@nuxtjs/ionic'],
ionic: {
integrations: {
//
},
css: {
//
},
config: {
//
}
},
})
integrationsIntegrations control which other modules this module should enable and setup from the list below. Disabling them allows you to remove them, or gives you the option to set them up yourself.
truetruetruecssConfigure which Ionic stylesheets are automatically added to your application. For more information about these stylesheets, see the Ionic Documentation for Stylesheets.
true@ionic/vue/css/core.csstrue@ionic/vue/css/normalize.css@ionic/vue/css/structure.css@ionic/vue/css/typography.cssfalse@ionic/vue/css/padding.css@ionic/vue/css/float-elements.css@ionic/vue/css/text-alignment.css@ionic/vue/css/text-transformation.css@ionic/vue/css/flex-utils.css@ionic/vue/css/display.cssconfigConfigure Ionic components globally across your app, such as app mode, tab button layout, etc. For example:
export default defineNuxtConfig({
ionic: {
config: {
rippleEffect: false,
mode: 'md',
// ...
},
},
})
Capacitor is configured via the capacitor.config.ts file - this is only required if you are targeting native devices such as iOS or Android.