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

Commit

Permalink
Move links together, dead comments
Browse files Browse the repository at this point in the history
  • Loading branch information
renoirb committed Jun 8, 2019
1 parent 9544ecc commit 688640b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
19 changes: 14 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ yarn
yarn build
```


## Links

For [Nuxt.js version, go to **nuxt/hackernews**](https://github.com/nuxt/hackernews)
Expand All @@ -78,15 +77,25 @@ This repository is originally ported from [vue-hackernews-2.0](https://github.co

## Docs

- [nuxt-community/pwa-module](https://github.com/nuxt-community/pwa-module) ([docs](https://pwa.nuxtjs.org/modules/workbox.html))
- [vue-i18n](https://github.com/kazupon/vue-i18n) ([docs](https://kazupon.github.io/vue-i18n/))
- [vue-property-decorator](https://github.com/kaorun343/vue-property-decorator)
- [vuex-class](https://github.com/ktsn/vuex-class/)
- [vue-class-component](https://github.com/vuejs/vue-class-component)
- [vue-i18n](https://github.com/kazupon/vue-i18n) ([docs](https://kazupon.github.io/vue-i18n/))

### Other useful *TypeScript* + *Nuxt.js* boilerplate/starter-kit projects
### Useful _TypeScript_ + _Nuxt.js_ community curated examples

- [nuxt-community/typescript-template](https://github.com/nuxt-community/typescript-template)
- [nuxt-community/pwa-module](https://github.com/nuxt-community/pwa-module) ([docs](https://pwa.nuxtjs.org/modules/workbox.html))
- [**nuxt/nuxt.js** in _examples/typescript_](https://github.com/nuxt/nuxt.js/tree/dev/examples/typescript)
- [**nuxt/nuxt.js** in _examples/typescript-vuex_](https://github.com/nuxt/nuxt.js/tree/dev/examples/typescript-vuex)

### Other useful _TypeScript_ + _Nuxt.js_ boilerplate/starter-kit projects

- [hisasann/typescript-nuxtjs-boilerplate](https://github.com/hisasann/typescript-nuxtjs-boilerplate)
- [**nuxt/nuxt.js** in *examples/typescript*](https://github.com/nuxt/nuxt.js/tree/dev/examples/typescript)

### Other relevant links to the topic

- https://stackoverflow.com/q/52863117/852395

## License

Expand Down
3 changes: 0 additions & 3 deletions lib/models/user.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// export interface Users {
// [key: string]: User
// }
export interface User {
created: string
created_time: number
Expand Down
7 changes: 0 additions & 7 deletions store/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// import { CancelToken } from "axios"
import { StoreOptions } from "vuex"

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

/**
* Cool places that I used as starting point:
* - https://stackoverflow.com/q/52863117/852395
* - https://github.com/nuxt/nuxt.js/blob/dev/examples/typescript-vuex
* - https://github.com/nuxt-community/typescript-template
*/
export const state: StoreOptions<StoreStateRoot> = {
modules: {
[feed.name]: feed,
Expand Down

0 comments on commit 688640b

Please sign in to comment.