--- title: Basic description: A minimal end-to-end example — register the module, pick a theme, and render a looping image carousel. sidebar: order: 1 --- The smallest complete setup: register the module, then render a `` with a few slides. ## 1. Register the module ```ts // nuxt.config.ts export default defineNuxtConfig({ modules: ['nuxt-splide'], splide: { theme: 'default', }, }) ``` The `theme` is optional — leave the `splide` key off entirely and you get the `default` theme. ## 2. Render a slider ```vue ``` That's it — `` and `` are auto-imported, so there are no `import` statements. You get a three-up looping carousel with arrows and pagination from the `default` theme. :::tip The `options` object is where all the behavior lives. Swap `type: 'loop'` for `type: 'fade'` and set `perPage: 1` to turn this into a cross-fading single-image slideshow. ::: ## Next steps - [Responsive Gallery](/nuxt-splide/examples/responsive-gallery/) — change `perPage` per screen width with breakpoints. - [Unstyled (Core Theme)](/nuxt-splide/examples/unstyled-core/) — drop the bundled styling and style the slider yourself.