Skip to content

Commit

Permalink
feat: add eruda-vue
Browse files Browse the repository at this point in the history
  • Loading branch information
surunzi committed Aug 15, 2024
1 parent f372510 commit becfd98
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ eruda.init({
* [eruda-geolocation](https://github.com/liriliri/eruda-geolocation): Test geolocation.
* [eruda-orientation](https://github.com/liriliri/eruda-orientation): Test orientation api.
* [eruda-touches](https://github.com/liriliri/eruda-touches): Visualize screen touches.
* [eruda-vue](https://github.com/liriliri/eruda-vue): Vue devtools.
If you want to create a plugin yourself, follow the guides [here](https://eruda.liriliri.io/docs/plugin.html).
Expand Down
8 changes: 8 additions & 0 deletions src/Snippets/defSnippets.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ export default [
},
desc: 'Scale down the whole page to fit screen',
},
{
name: 'Load Vue Plugin',
fn() {
loadPlugin('vue')
},
desc: 'Vue devtools',
},
{
name: 'Load Monitor Plugin',
fn() {
Expand Down Expand Up @@ -225,4 +232,5 @@ const pluginVersion = {
geolocation: '2.1.0',
orientation: '2.1.1',
touches: '2.1.0',
vue: '1.0.0',
}

0 comments on commit becfd98

Please sign in to comment.