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: README.md
+28-4Lines changed: 28 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,20 @@
1
1
# Svelte DevTools
2
2
3
-
Svelte DevTools extends the Firefox developer tools with the ability to inspect Svelte component hierarchies and modify component state.
3
+
Svelte DevTools extends the Firefox and Chrome developer tools with the ability to inspect Svelte component hierarchies and modify component state.
4
4
5
5
## Limitations
6
6
7
-
Svelte DevTools works by intercepting and instrumenting the generated svelte bundle. This means that **minification or other modifications to the generated bundle may prevent Svelte DevTools from working.**
7
+
Svelte DevTools works by intercepting and instrumenting the generated svelte bundle. This means that **minification or any other modifications to the generated bundle may prevent Svelte DevTools from working.**
8
8
9
9
## Installation
10
10
11
-
Pre-packaged `xpi` archives can be downloaded from the releases page. Simply open the archive in firefox to install.
11
+
Svelte DevTools is still in beta and has yet to be published to the respective extension stores. However pre-packaged archives can be downloaded from the releases page.
12
12
13
-
### From source
13
+
### Firefox
14
+
15
+
Download the `xpi` archive from the release page and simply open the file in firefox to install.
16
+
17
+
#### From source
14
18
15
19
Unsigned addons can't be install in firefox permanently but addons can be installed temporarily from the `about:debugging` page.
16
20
@@ -24,3 +28,23 @@ npm run package
24
28
This should generate a zip file under `web-ext-artifacts`.
25
29
26
30
2. Open `about:debugging` in firefox. Click "Load Temporary Add-on" and choose the generated zip file.
31
+
32
+
### Chrome
33
+
34
+
1. Download the `zip` archive from the release page and unpack it.
35
+
2. Open chrome and navigate to `chrome://extensions/`.
36
+
3. Turn on developer mode using the 'Developer mode' switch in the upper right hand corner of the page.
37
+
3. Click 'Load Unpacked' and select the directory contain the extension files.
38
+
39
+
#### From source
40
+
41
+
1. Clone this repository and run the build script.
0 commit comments