1. vue-devtools-stub
[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Github Actions][github-actions-src]][github-actions-href] [![Codecov][codecov-src]][codecov-href]
vue-devtools-stub
Package: vue-devtools-stub
Created by: nuxt-contrib
Last modified: Wed, 17 Aug 2022 13:11:55 GMT
Version: 0.1.0
License: MIT
Downloads: 1,492,581
Repository: https://github.com/nuxt-contrib/vue-devtools-stub

Install

npm install vue-devtools-stub
yarn add vue-devtools-stub

vue-devtools-stub

npm version
npm downloads
Github Actions
Codecov

Stub package for @vue/devtools-api.

Why this package:

Many of Vue 3 libraries use this package internally to integrate with devtools and mostly for development.

While normally an esm bundler version of those libraries allows tree-shaking and opting out, it is not always possible and specially problematic with externalization.

This package mocks same interface of the package.

💻 Development

  • Clone this repository
  • Enable Corepack using corepack enable (use npm i -g corepack for Node.js < 16.10)
  • Install dependencies using pnpm install
  • Run interactive tests using pnpm dev

License

Made with 💛

Published under MIT License.

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin