Improve
This commit is contained in:
parent
4663341497
commit
280e2e018e
4 changed files with 12 additions and 16 deletions
|
@ -1,9 +1,7 @@
|
||||||
export function aboutPageState() {
|
export const aboutPageState = () => ({
|
||||||
return {
|
count: 0,
|
||||||
count: 0,
|
|
||||||
|
decrement() {
|
||||||
decrement() {
|
this.count--
|
||||||
this.count--
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
})
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
export function indexPageState() {
|
export const indexPageState = () => ({
|
||||||
return {
|
count: 0,
|
||||||
count: 0,
|
|
||||||
|
|
||||||
increment() {
|
increment() {
|
||||||
this.count++
|
this.count++
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
})
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
(html :lang "ja"
|
(html :lang "ja"
|
||||||
(head
|
(head
|
||||||
(meta :charset "UTF-8")
|
(meta :charset "UTF-8")
|
||||||
(link :rel "stylesheet" :type "text/css" :href "/vendor/ress.css")
|
(link :rel "stylesheet" :type "text/css" :href "/vendor/ress@5.0.2.css")
|
||||||
(link :rel "stylesheet" :type "text/css" :href "/styles/global.css")
|
(link :rel "stylesheet" :type "text/css" :href "/styles/global.css")
|
||||||
(on-demand-stylesheets pi:children)
|
(on-demand-stylesheets pi:children)
|
||||||
(link :rel "preconnect" :href "https://fonts.googleapis.com")
|
(link :rel "preconnect" :href "https://fonts.googleapis.com")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue