@harlem/plugin-devtools
The official Vue devtools plugin for Harlem
11,973
515
| Install | |
|---|---|
npm install @harlem/plugin-devtools |
|
| Latest Version: | 3.1.8 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Jun 3, 2024 |
| Links: | GitHub · npm |
Maintainer: andrewcourtice
Harlem Devtools Plugin
The devtools plugin integrates Harlem into the Vue developer tools allowing you to see and edit your stores in real-time.
Installation
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.
Usage
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');
- Open your Vue devtools to see your stores.
Options
- label:
string?- the name that will appear in the Vue devtools pane. The default is 'Harlem'. - color:
number?- a Hexadecimal number indicating the color to be used on the timeline for Harlem events. The default is0x40c48d.
(?) indicates an optional field
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 3.1.8 | MIT | |
| 3.1.7 | MIT | |
| 3.1.6 | MIT | |
| 3.1.5 | MIT | |
| 3.1.4 | MIT | |
| 3.1.3 | MIT | |
| 3.1.2 | MIT | |
| 3.1.1 | MIT | |
| 3.1.0 | MIT | |
| 3.0.2 | MIT | |
| 3.0.1 | MIT | |
| 3.0.0 | MIT | |
| 2.3.9 | MIT | |
| 2.3.8 | MIT | |
| 2.3.7 | MIT | |
| 2.3.6 | MIT | |
| 2.3.5 | MIT | |
| 2.3.3 | MIT | |
| 2.3.2 | MIT | |
| 2.3.1 | MIT | |
| 2.3.0 | MIT | |
| 2.2.3 | MIT | |
| 2.2.2 | MIT | |
| 2.2.1 | MIT | |
| 2.2.0 | MIT | |
| 2.1.1 | MIT | |
| 2.1.0 | MIT | |
| 2.0.1 | MIT | |
| 2.0.0 | MIT | |
| 1.3.2 | MIT |
Showing the latest 30 of 57. See every release on npm
Pre-releases (25)
| Version | Released | License |
|---|---|---|
| 3.0.0-beta.1 | MIT | |
| 3.0.0-beta.0 | MIT | |
| 2.4.0-beta.11 | MIT | |
| 2.4.0-beta.10 | MIT | |
| 2.4.0-beta.9 | MIT | |
| 2.4.0-beta.8 | MIT | |
| 2.4.0-beta.7 | MIT | |
| 2.4.0-beta.6 | MIT | |
| 2.4.0-beta.5 | MIT | |
| 2.4.0-beta.4 | MIT | |
| 2.4.0-beta.3 | MIT | |
| 2.4.0-beta.2 | MIT | |
| 2.4.0-beta.1 | MIT | |
| 2.0.0-beta.10 | MIT | |
| 2.0.0-beta.9 | MIT | |
| 2.0.0-beta.8 | MIT | |
| 2.0.0-beta.7 | MIT | |
| 2.0.0-beta.6 | MIT | |
| 2.0.0-beta.5 | MIT | |
| 2.0.0-beta.4 | MIT | |
| 2.0.0-beta.3 | MIT | |
| 2.0.0-beta.2 | MIT | |
| 2.0.0-beta.1 | MIT | |
| 2.0.0-beta.0 | MIT | |
| 2.0.0-alpha.0 | MIT |