থিম

ভূমিকা

থিম ব্যবহার করতে theme অপশন sveltepress এ পাঠিয়ে দিন।

বিস্তারিত জানতে ভিট প্লাগিন অপশন এবং ডিফল্ট থিম অপশন পড়ুন।

ডিফল্ট থিম

ইন্সটল

npm install --save @sveltepress/theme-default
sh

আপনার ভিট কনফিগে যুক্ত করুন

vite.config.(js|ts)
+
+
import { defaultTheme  } from '@sveltepress/theme-default' 
import { sveltepress  } from '@sveltepress/vite'
import { defineConfig  } from 'vite'

const config  = defineConfig ({
  plugins : [
    sveltepress ({
      theme : defaultTheme (/** theme options */) 
    })
  ],
})

export default config 
ts

ডিফল্ট থিম সম্পর্কে আরো বিস্তারিত জানতে ডিফল্ট থিম রেফারেন্স

Last update at: 2024/11/27 15:00:22