Giter VIP home page Giter VIP logo

Comments (6)

afontcu avatar afontcu commented on May 22, 2024 1

I'm up for it! I'll start tweaking the docs repo, trying to match the official docs.

So I was thinking of this "Cookbook" section, from simple to not-so-simple examples, where we can set the right mindset when testing common scenarios. It could be community-driven, so we could ask for additional examples. I guess it matches your 2. Guide for common use cases section.

Also, a FAQ section could help – not that people read them often, but it might come in handy to easily link to them in issues and discord. Faster than typing the same answers over and over again 😇

from test-utils.

lmiller1990 avatar lmiller1990 commented on May 22, 2024 1

Closing this in favor of tracking docs here: https://github.com/vuejs/vue-test-utils-next-docs

from test-utils.

afontcu avatar afontcu commented on May 22, 2024

So this just came to my mind... could we even "mimic" the official docs table of contents?

image

From vue-docs-next preview. Hardly the final table of contents, but you get the idea.

Would that make sense? I guess we should ask the docs team why they set up things like that, and try to see if that would help our users too.

from test-utils.

lmiller1990 avatar lmiller1990 commented on May 22, 2024

I think the reason they introduce watchers first is they want to teach the users about reactivity in Vue, which means computed properties and watchers.

Something like this could work, interested to see what you come up with - happy to review anything. What kind of content do you think is essential for the introduction section? Are we writing code, or just talking about VTU?

Cookbook also sounds good.

from test-utils.

afontcu avatar afontcu commented on May 22, 2024

I'm gonna give the "official docs table of contents" idea a go, so we can see what it looks like. Come back to you with a PR soon.

from test-utils.

lmiller1990 avatar lmiller1990 commented on May 22, 2024

Sounds good! Looking forward 🙇 I'm guessing we can get some feedback from the docs team too.

from test-utils.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.