Work on the new Hub to manage the header, footer, menu, quick access, etc

This commit is contained in:
Scott Idem
2024-02-09 18:24:07 -05:00
parent 7775b88b35
commit 7f6f063f00
9 changed files with 476 additions and 44 deletions

View File

@@ -1,15 +1,19 @@
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'
// import adapter from '@sveltejs/adapter-static';
// import adapter from '@sveltejs/adapter-node';
export default {
const config = {
// Consult https://svelte.dev/docs#compile-time-svelte-preprocess
// for more information about preprocessors
preprocess: vitePreprocess(),
// Disable accessibility warnings
onwarn: (warning, handler) => {
console.log('HERE');
if (warning.code.includes("a11y")) return;
// if (warning.code === 'a11y-distracting-elements') return;
handler(warning);
},
@@ -35,3 +39,29 @@ export default {
// })
// }
}
export default config;
// import adapter from '@sveltejs/adapter-auto';
// /** @type {import('@sveltejs/kit').Config} */
// const config = {
// // Consult https://svelte.dev/docs#compile-time-svelte-preprocess
// // for more information about preprocessors
// preprocess: vitePreprocess(),
// // Disable accessibility warnings
// onwarn: (warning, handler) => {
// console.log('HERE');
// if (warning.code.includes("a11y")) return;
// handler(warning);
// },
// kit: {
// adapter: adapter()
// }
// };
// export default config;