Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

docs: improvements #451

Open
danielroe opened this issue Apr 11, 2021 · 0 comments
Open

docs: improvements #451

danielroe opened this issue Apr 11, 2021 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@danielroe
Copy link
Member

From Discord

Examples area could use some work first.

It seems to not be working properly
Now I am able to see code in github but not in the docs.
Not sure why is not displaying properly.

The example is too basic though. Would prefer something more intermediate.
Would like to see examples for.

  1. Unit Testing
  2. Using typescript.

Would like to see this example as part of examples in the docs.
https://github.com/nuxt-community/typescript-template/blob/main/pages/composition-api.vue

I also got confused on the difference between UseFetch, UseAsync and UseStatic and when to use each. So perhaps would be cool have section that explain the difference and use case where one would have better use case than the other.
This is not really necessary just something extra. It does not even need to be in the docs but an nice article like this would be nice https://nuxtjs.org/blog/understanding-how-fetch-works-in-nuxt-2-12/
Something like this would be ideal https://nuxtjs.org/docs/2.x/features/data-fetching/ like how it compares both. I understand how fetch and async work, yet static confused me, seems not many people use it either based on my search.

Currently having issues with unit testing and have no reference. Is understandable since composition-api is new, yet would be really helpful to have a full project to take reference on like this one for example.
https://nuxtjs.org/blog/build-dev-to-clone-with-nuxt-new-fetch
If it had some basic unit test even better.
Google can't help me much since there is almost no articles or much source to look for reference.

@danielroe danielroe added the documentation Improvements or additions to documentation label Apr 11, 2021
@danielroe danielroe self-assigned this Apr 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant