vue-devtools-stub
v0.1.0
Published
[![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]
Downloads
1,882,610
Readme
vue-devtools-stub
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
(usenpm 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.