Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
vue-cli-plugin-eruda
Advanced tools
Readme
A Vue CLI 3+ plugin of eruda.
Install under a project created by Vue CLI
, It will automatically load this plugin.
npm install --save-dev vue-cli-plugin-eruda
# If Vue CLI is installed globally
vue add erudu
After injection, a global variable will be provided for calling eruda API.
var eruda = require("eruda");
window.eruda === undefined && (window.eruda = eruda);
// vue.config.js
module.exports = {
// ... your configs
pluginOptions: {
eruda: {
// options
}
}
}
Options key | Type | Description |
---|---|---|
enable | boolean | When NODE_ENV !== 'production' plugin is enabled by default. You can pass true/false to force it to be enabled. |
exclude | regexp | regexp[] | Used to exclude entries which you don't want to inject eruda. For example you are using "pages" option in vue.config.js |
plugins | string[] | Passing plugin name to enable eruda plugin. You can use full module(['eruda-fps']) or shorthand(e.g. ['fps'] ) |
container | element | Container element. If not set, it will append an element directly under html root element |
tool | string[] | string | Choose which eruda's tools you want, by default all will be added. |
autoScale=true | boolean | Auto scale eruda for different viewport settings. |
useShadowDom=true | boolean | Use shadow dom for css encapsulation. |
defaults | object | Default settings. |
Available defaults
settings:
Name | Type | Desc |
---|---|---|
transparency | number | Transparency, 0 to 1 |
displaySize | number | Display size, 0 to 100 |
theme | string | Theme, defaults to Light or Dark in dark mode |
container
, tool
, autoScale
, useShadowDom
, defaults
are eruda's default configuration. You can check document for more information.
FAQs
Eruda Console Plugin for Vue CLI 3+
The npm package vue-cli-plugin-eruda receives a total of 20 weekly downloads. As such, vue-cli-plugin-eruda popularity was classified as not popular.
We found that vue-cli-plugin-eruda demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.