preface

Recently, when I was browsing Twitter, I took a look at uVU’s account and found an interesting tweet. I did not find similar words from UVU’s domestic social platform accounts (Zhihu, Weibo, etc.), but I heard him say that more and more people will abandon Webpack and use Vite. Vite is a vite, cli is a CLI, and vite is a vite.

Twitter address: twitter.com/youyuxi/sta…

The translation

Especially the rain stream:

Will Vite replace VUe-CLI? At first I was not sure, but now I believe it will happen eventually.

The main difference at this stage is just the Test integration.

Peng Rui (PENG Rui)

Maybe now is the time to complete a vue-cli-plugin-vite plugin. (Make vuE-CLI work with Vite)

Yuran Faizal

I agree with 🙋

Lachlan Miller

Do you have a version that tests whether runners/testing is appropriate for Vite?

Joao Carmona

I would like Vite to send modules to test on demand when it starts a service, rather than building first. (Theoretically) Is that possible?

Alex Vipond

Take a look at Luke’s UVU. Native ESM support is very much in line with the spirit of Vite. By default, there are no compiled test steps and no additional integration is required.

When I need to test in the browser, I can just start my Vite service and manipulate the UVU test, which is refreshing

Luck Edwards

Thank you, but you’re using the wrong user tag

Hussain Malik

@Alyssa In UI Yasub

AliZainUIYasoob

The test was a mess

BaskarRao

I see it coming!!

Cis Jenner

It’s none of my business but I think beginners would benefit from a package like yarn@vitejs/Add-plugin foo

Joshua Hemphill

Explore using plug-ins instead of WebPack as builders in VUe-CLI

Kevin Lee Garner

Good job!

Alberto Gualis

A: wow! Thank you for your courage. We need more leaders like you. Disagreements and transitions are difficult for many of us, but what you’re achieving will be an asset to the entire community (not just Vue developers). With my respect 👌

Octo. Yang

Vite will be the best and easiest packaging tool and development server to use.

Shayne O’Sullivan

After several years of running large enterprise applications on VUE-CLI, I had to discontinue the test run integration to avoid spending a lot of time between test run updates and VUe-CLI updates. But vuE-CLI is still a great tool… But I’d love to see a more decoupled Vite

NPM euan (NPMYoan)

Hey ah sou vite

Nathan Zhang

This is too handsome

Laurent (Laurent)

I’m curious how you find the balance between covering all the vue-CLI use cases, like UI, while the rest of the framework is unknowable.

Gabor Soos

I’m trying to add Jest tests to Vite and it works fine, but the E2E tests look difficult to implement

This article was first published on the official account: “Front-end Learning Is Not moving”

Past wonderful articles

  • Vite1.0 is not even learning 2.0?
  • Create your own visual data map without relying on any library
  • Vue’s fun new feature: JS variables in CSS
  • What? Can pull effect be achieved with H5 tag alone?
  • Microsoft launches comment section on GitHub
  • Vue 3.0.3: New CSS variable passing and the latest Ref proposal
  • Double 11 small black box is cool? Let’s use CSS variables to improve!
  • Don’t underestimate the nine grid a question can let the candidate’s true colors!
  • Mobile Layout Interview Questions: A Thorough review of your CSS Skills
  • “A series of confusing behaviors after setting a prototype object as a Proxy”
  • Vue super Fun New feature: DOM Portal
  • Styled Components using the React Super-styled CSS-In-JS library in Vue Projects: Styled components
  • Is It Finally Vue’s Turn to inspire React?
  • Vue3 is a pit on IOS
  • New Version of VUe-Router hooks
  • React 17 is officially a transitional version.
  • You Yuxi: The Design Process of Vue3
  • The Father of Node’s refactoring Deno has finally been released. Will it replace Node after all?