add day 13, SSRgit checkout maingit checkout mainsudo pacman -S virt-manager qemu vde2 ebtables dnsmasq bridge-utils openbsd-netcat

checkout
This commit is contained in:
Zoe
2022-10-05 21:10:51 -05:00
parent cf198b63a5
commit 6855cb94f3
28 changed files with 5458 additions and 0 deletions

21
day13/src/main.js Normal file
View File

@@ -0,0 +1,21 @@
import { Reactive } from './lib/ReactiveObject'
import { getCookie } from './lib/cookieManager';
export const appState = new Reactive({
count: 0,
cookie: getCookie('username'),
text: '',
html: '',
year: '',
cookiedata: "",
});
let SSR = false;
export function isSSR() {
return SSR;
}
export function setSSR() {
SSR = true;
}