vite-plugin-quick-file-vue
v1.1.3
Published
click dom to open file in editor
Downloads
5
Readme
VITE-PLUGIN-QUICK-FILE-VUE
Table of Contents
quick-file-vue is a plugin for vite that allows you to quickly find your vue component files.
Install with npm:
npm install --save-dev vite-plugin-quick-file-vue
Install with yarn:
yarn add vite-plugin-quick-file-vue --dev
Add the plugin to your vite.config.ts:
// vite.config.ts
import { quickFilePlugin } from 'vite-plugin-quick-file-vue';
export default {
plugins: [
quickFilePlugin()
]
}
then you can open a list by pressing q+clicking the left mouse button on an element in your browser, the list contains all the vue component files related to this element, click on an item in the list, you can open this file directly in the editor