diff --git a/README.md b/README.md index 5d28fecc5..22543d2af 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/src/Snippets/defSnippets.js b/src/Snippets/defSnippets.js index 6b715d79c..4eebfa83e 100644 --- a/src/Snippets/defSnippets.js +++ b/src/Snippets/defSnippets.js @@ -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() { @@ -225,4 +232,5 @@ const pluginVersion = { geolocation: '2.1.0', orientation: '2.1.1', touches: '2.1.0', + vue: '1.0.0', }