You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/open-in-editor.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# Open component in editor
2
2
3
+
## Nuxt.js
4
+
5
+
Nuxt supports this feature out-of-the-box. Make sure to be in debug mode.
6
+
7
+
## Webpack
8
+
3
9
In your Vue project, install the [express-open-in-editor](https://github.com/lahmatiy/express-open-in-editor) package and modifiy your webpack configuration:
4
10
5
11
1. Import the package:
@@ -23,3 +29,7 @@ devServer: {
23
29
3. You can change `'code'` with the editor you are using, see the [supported editors list](https://github.com/lahmatiy/open-in-editor#editor).
24
30
25
31
You can now click on the name of the component in the Component inspector pane (if the devtools knows about its file source, a tooltip will appear).
32
+
33
+
## Node.js
34
+
35
+
You can use the [open-in-editor](https://github.com/lahmatiy/open-in-editor) package to setup an HTTP route with the `/__open-in-editor` path. It will receive `file` as an URL variable.
0 commit comments