← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 73
  1. Get Package Root

    When you want to get the real file path of a certain package, you could use require.resolve to fetch their main entry path. > require.resolve('vite') '/Users/...

  2. Optimize Await

    async / await in ES7 is truly a life-saver for the JavaScript world.

  3. About Yak Shaving

    [[toc]] 中文原文 Original in Chinese I recently visited Zhihu occasionally and saw many questions about how to start open source, or how to make open source projects successful.

  4. Composable Vue

    [[toc]] This is the transcript of my talk Composable Vue at VueDay 2021 Slides: PDF | SPA Recording: YouTube Made with Slidev - a slides maker for developers that I am working on recently.

  5. Develop with Vite

    This is the transcript of my talk at Vue Beijing Slides: English ver. | 中文 ver.

  6. Disclaimer: All the words are only representing my opinions.

  7. Type your Config

    Configurations can be quite complex, and sometimes you may want to utilize the great type checking that TypeScript provided.

  8. Disclaimer: All the words are only representing my opinions.

  9. I didn't know that you can type provide() and inject() elegantly until I watched Thorsten Lünborg's talk on Vue Amsterdam.

  10. Types for Submodules

    When you build multiple entries in a single package, you exports them with exports syntax.

  11. There is currently no API to access colors of current theme in VS Code Extensions, nor the meta information of them.

  12. Match Quotes in Pairs

    In JavaScript, single quotes('') and double quotes("") are interchangeable.

  13. When you need to detect if a string contains Chinese characters, you would commonly think about doing it will RegExp, or grab a ready-to-use package on npm.

  14. Netlify Redirects

    Domains Redirects On Netlify, you can setup multiple domains for a site.

  15. Rewrite in Vite

    [[toc]] The page you are looking at is now powered by Vite.

  16. [[toc]] Destructuring is a JavaScript language feature introduced in ES6 which I would assume you already familiar with it before moving on.

  17. [[toc]] As you probably know, the things I excited most in Vue 3 are the Composition API and the reactivity system.

  18. Journey with Icons

    [[toc]] Update Sep. 2021: Journey with Icons Continues TL;DR To solve the pain I faced in using icons for the web, I built the following tools to make the DX better.

  19. Today, Evan has announced that the first RC of Vue 3 will be released in mid-July.

  20. Vue 3 Migration Notes

    Note: This is my personal notes/tips for migrating to Vue 3 and will be updated overtime.

  21. [[toc]] As you may or may not know, I am working on preparing to release the v1.0 version for @vue/composition-api recently.

  22. Domain Email

    Saw a tweet from Evan You about the hey.com mail service recently.

  23. New House

    I always feel that I need a blog but I never have one.