add day14

This commit is contained in:
Zoe
2022-10-06 21:37:51 -05:00
parent 6855cb94f3
commit f3718a1229
32 changed files with 6369 additions and 56 deletions

21
day14/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;
}