This repository was archived by the owner on Nov 28, 2020. It is now read-only.
File tree 3 files changed +14
-15
lines changed
3 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 69
69
yarn build
70
70
```
71
71
72
-
73
72
## Links
74
73
75
74
For [ Nuxt.js version, go to ** nuxt/hackernews** ] ( https://github.com/nuxt/hackernews )
@@ -78,15 +77,25 @@ This repository is originally ported from [vue-hackernews-2.0](https://github.co
78
77
79
78
## Docs
80
79
81
- - [ nuxt-community/pwa-module] ( https://github.com/nuxt-community/pwa-module ) ([ docs] ( https://pwa.nuxtjs.org/modules/workbox.html ) )
82
- - [ vue-i18n] ( https://github.com/kazupon/vue-i18n ) ([ docs] ( https://kazupon.github.io/vue-i18n/ ) )
80
+ - [ vue-property-decorator] ( https://github.com/kaorun343/vue-property-decorator )
83
81
- [ vuex-class] ( https://github.com/ktsn/vuex-class/ )
84
82
- [ vue-class-component] ( https://github.com/vuejs/vue-class-component )
83
+ - [ vue-i18n] ( https://github.com/kazupon/vue-i18n ) ([ docs] ( https://kazupon.github.io/vue-i18n/ ) )
85
84
86
- ### Other useful * TypeScript* + * Nuxt.js* boilerplate/starter-kit projects
85
+ ### Useful _ TypeScript_ + _ Nuxt.js_ community curated examples
86
+
87
+ - [ nuxt-community/typescript-template] ( https://github.com/nuxt-community/typescript-template )
88
+ - [ nuxt-community/pwa-module] ( https://github.com/nuxt-community/pwa-module ) ([ docs] ( https://pwa.nuxtjs.org/modules/workbox.html ) )
89
+ - [ ** nuxt/nuxt.js** in _ examples/typescript_ ] ( https://github.com/nuxt/nuxt.js/tree/dev/examples/typescript )
90
+ - [ ** nuxt/nuxt.js** in _ examples/typescript-vuex_ ] ( https://github.com/nuxt/nuxt.js/tree/dev/examples/typescript-vuex )
91
+
92
+ ### Other useful _ TypeScript_ + _ Nuxt.js_ boilerplate/starter-kit projects
87
93
88
94
- [ hisasann/typescript-nuxtjs-boilerplate] ( https://github.com/hisasann/typescript-nuxtjs-boilerplate )
89
- - [ ** nuxt/nuxt.js** in * examples/typescript* ] ( https://github.com/nuxt/nuxt.js/tree/dev/examples/typescript )
95
+
96
+ ### Other relevant links to the topic
97
+
98
+ - https://stackoverflow.com/q/52863117/852395
90
99
91
100
## License
92
101
Original file line number Diff line number Diff line change 1
- // export interface Users {
2
- // [key: string]: User
3
- // }
4
1
export interface User {
5
2
created : string
6
3
created_time : number
Original file line number Diff line number Diff line change 1
- // import { CancelToken } from "axios"
2
1
import { StoreOptions } from "vuex"
3
2
4
3
import { StoreStateRoot } from "~/lib/models"
@@ -9,12 +8,6 @@ import * as user from "~/store/feed"
9
8
// 'https://api.hnpwa.com/v0' + '/api'
10
9
export const apiBasePath = "/api"
11
10
12
- /**
13
- * Cool places that I used as starting point:
14
- * - https://stackoverflow.com/q/52863117/852395
15
- * - https://github.com/nuxt/nuxt.js/blob/dev/examples/typescript-vuex
16
- * - https://github.com/nuxt-community/typescript-template
17
- */
18
11
export const state : StoreOptions < StoreStateRoot > = {
19
12
modules : {
20
13
[ feed . name ] : feed ,
You can’t perform that action at this time.
0 commit comments