Themes
Introduction
Pass theme
option to sveltepress to use a theme
Read Vite plugin options and Default theme options for more details
Default theme
Install
npm install --save @sveltepress/theme-default
sh
Add in your vite config
vite.config.(js|ts)
+
+
import { } from 'vite'
import { } from '@sveltepress/vite'
import { } from '@sveltepress/theme-default'
const = ({
: [
({
: (/** theme options */)
})
],
})
export default
ts
Get more info about default theme in Default theme reference
On this page