@harlem/plugin-devtools
Advanced tools
Weekly downloads
Readme
The devtools plugin integrates Harlem into the Vue developer tools allowing you to see and edit your stores in real-time.
To get started make sure you have the Vue developer tools installed in your browser. The Vue devtools can be installed here:
Before installing the devtools plugin make sure you have installed @harlem/core
.
yarn add @harlem/plugin-devtools
# or
npm install @harlem/plugin-devtools
The devtools extension is already included with Harlem when using the harlem
package.
Create an instance of the plugin and register it with Harlem:
import App from './app.vue';
import devtoolsPlugin from '@harlem/plugin-devtools';
import {
createVuePlugin
} from 'harlem';
createApp(App)
.use(createVuePlugin({
plugins: [
devtoolsPlugin({
label: 'My State'
})
]
}))
.mount('#app');
string?
- the name that will appear in the Vue devtools pane. The default is 'Harlem'.number?
- a Hexadecimal number indicating the color to be used on the timeline for Harlem events. The default is 0x40c48d
.(?) indicates an optional field
FAQs
The official Vue devtools plugin for Harlem
The npm package @harlem/plugin-devtools receives a total of 372 weekly downloads. As such, @harlem/plugin-devtools popularity was classified as not popular.
We found that @harlem/plugin-devtools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.