Compare commits
No commits in common. "e77e710983149e840865112d1ed0305df757a99a" and "aeaec1c3d2e8a0ea936eae5a064b95be9c730c8d" have entirely different histories.
e77e710983
...
aeaec1c3d2
3 changed files with 8 additions and 2 deletions
Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 136 KiB |
|
@ -2,11 +2,11 @@
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
import { fade } from 'svelte/transition';
|
import { fade } from 'svelte/transition';
|
||||||
|
|
||||||
let visible = true;
|
let visible = false;
|
||||||
let time = 0;
|
let time = 0;
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
time = 1000;
|
time = 0;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
visible = false;
|
visible = false;
|
||||||
}, time);
|
}, time);
|
||||||
|
|
|
@ -17,6 +17,12 @@ const config = {
|
||||||
precompress: false,
|
precompress: false,
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
server: {
|
||||||
|
fs: {
|
||||||
|
// Allow serving files from one level up to the project root
|
||||||
|
allow: ['..'],
|
||||||
|
},
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
export default config;
|
export default config;
|
||||||
|
|
Loading…
Reference in a new issue