Install omorphia, Start instance settings page (#32)

This commit is contained in:
venashial
2022-04-04 04:59:39 +08:00
committed by GitHub
parent d1070ca213
commit a20f6596ce
20 changed files with 1017 additions and 745 deletions

View File

@@ -1,27 +1,23 @@
import adapter from '@sveltejs/adapter-static';
import preprocess from 'svelte-preprocess';
import path from "path";
import Icons from 'unplugin-icons/vite';
import { preprocess, plugins } from 'omorphia/config/svelte.config'
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: preprocess({
postcss: true,
}),
preprocess,
kit: {
adapter: adapter({
fallback: '200.html',
}),
vite: {
plugins: [
Icons({
compiler: 'svelte',
}),
...plugins,
],
resolve: {
alias: {
$assets: path.resolve('./src/assets'),
$components: path.resolve('./src/components'),
$layout: path.resolve('./src/layout'),
$lib: path.resolve('./src/lib'),
$stores: path.resolve('./src/stores'),
$styles: path.resolve('./src/styles'),