Giter Site home page Giter Site logo

vite-vue-app's Introduction

Vue 3 + Vite 前端精准测试Demo

这是一个vite脚手架创建的Vue3 项目,主要在项目中使用vue-router跳转功能。同时测试一下前端覆盖率插件:vite-plugin-istanbul, 使用文件可以参考: https://blog.csdn.net/lionking0318/article/details/136598382?spm=1001.2014.3001.5501

使用方法

1,Node版本

v18.20.3,其他版本自行处理兼容性问题。

2,安装依赖

npm i

3,运行项目

npm run dev

4,查看覆盖率数据

在浏览器的console中输入window.coverage,如果有数据输入即可,其他前端覆盖率相关功能,请自行处理。

vite-vue-app's People

Watchers

 avatar

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.