Add CSS & Icons docs

This commit is contained in:
venashial
2022-03-09 23:17:28 -08:00
parent c6df78eb81
commit 6dcd33bbc5
12 changed files with 1309 additions and 13 deletions

View File

@@ -2,13 +2,12 @@ import { mdsvex } from 'mdsvex';
import mdsvexConfig from './mdsvex.config.js';
import adapter from '@sveltejs/adapter-auto';
import preprocess from 'svelte-preprocess';
import Icons from 'unplugin-icons/vite';
/** @type {import('@sveltejs/kit').Config} */
const config = {
extensions: ['.svelte', ...mdsvexConfig.extensions],
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: [
preprocess({
postcss: true,
@@ -18,6 +17,13 @@ const config = {
kit: {
adapter: adapter(),
vite: {
plugins: [
Icons({
compiler: 'svelte',
}),
],
},
},
};