Skip to content
This repository was archived by the owner on Nov 28, 2020. It is now read-only.

Commit 688640b

Browse files
committed
Move links together, dead comments
1 parent 9544ecc commit 688640b

File tree

3 files changed

+14
-15
lines changed

3 files changed

+14
-15
lines changed

README.md

+14-5
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ yarn
6969
yarn build
7070
```
7171

72-
7372
## Links
7473

7574
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
7877

7978
## Docs
8079

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)
8381
- [vuex-class](https://github.com/ktsn/vuex-class/)
8482
- [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/))
8584

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
8793

8894
- [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
9099

91100
## License
92101

lib/models/user.ts

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// export interface Users {
2-
// [key: string]: User
3-
// }
41
export interface User {
52
created: string
63
created_time: number

store/index.ts

-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// import { CancelToken } from "axios"
21
import { StoreOptions } from "vuex"
32

43
import { StoreStateRoot } from "~/lib/models"
@@ -9,12 +8,6 @@ import * as user from "~/store/feed"
98
// 'https://api.hnpwa.com/v0' + '/api'
109
export const apiBasePath = "/api"
1110

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-
*/
1811
export const state: StoreOptions<StoreStateRoot> = {
1912
modules: {
2013
[feed.name]: feed,

0 commit comments

Comments
 (0)