GUI base navigation & home

This commit is contained in:
venashial
2022-03-06 10:55:51 -08:00
parent f3b5155274
commit e6329819c7
26 changed files with 2087 additions and 85 deletions

View File

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