diff --git a/src/.vuepress/public/images/breakpoint_hit.png b/src/.vuepress/public/images/breakpoint_hit.png index 35020edc54..c5e8855c74 100644 Binary files a/src/.vuepress/public/images/breakpoint_hit.png and b/src/.vuepress/public/images/breakpoint_hit.png differ diff --git a/src/.vuepress/public/images/breakpoint_set.png b/src/.vuepress/public/images/breakpoint_set.png index af5a7064b7..7ed528efec 100644 Binary files a/src/.vuepress/public/images/breakpoint_set.png and b/src/.vuepress/public/images/breakpoint_set.png differ diff --git a/src/.vuepress/public/images/config_add.png b/src/.vuepress/public/images/config_add.png index a99ae3e201..b357db3db1 100644 Binary files a/src/.vuepress/public/images/config_add.png and b/src/.vuepress/public/images/config_add.png differ diff --git a/src/.vuepress/public/images/sfc-with-preprocessors.png b/src/.vuepress/public/images/sfc-with-preprocessors.png index 0be7d76f04..45411463fc 100644 Binary files a/src/.vuepress/public/images/sfc-with-preprocessors.png and b/src/.vuepress/public/images/sfc-with-preprocessors.png differ diff --git a/src/.vuepress/public/images/sfc.png b/src/.vuepress/public/images/sfc.png index e89873be47..a4bf5a7937 100644 Binary files a/src/.vuepress/public/images/sfc.png and b/src/.vuepress/public/images/sfc.png differ diff --git a/src/cookbook/debugging-in-vscode.md b/src/cookbook/debugging-in-vscode.md index 842656e699..274831d34c 100644 --- a/src/cookbook/debugging-in-vscode.md +++ b/src/cookbook/debugging-in-vscode.md @@ -41,7 +41,7 @@ We're assuming the port to be `8080` here. If it's not the case (for instance, i Click on the Debugging icon in the Activity Bar to bring up the Debug view, then click on the gear icon to configure a launch.json file, selecting **Chrome/Firefox: Launch** as the environment. Replace content of the generated launch.json with the corresponding configuration: -![Add Chrome Configuration](/images/config_add.png) +
Add Chrome Configuration
```json { @@ -74,7 +74,8 @@ Click on the Debugging icon in the Activity Bar to bring up the Debug view, then 1. Set a breakpoint in **src/components/HelloWorld.vue** on `line 90` where the `data` function returns a string. -![Breakpoint Renderer](/images/breakpoint_set.png) +
Breakpoint Renderer
+ 2. Open your favorite terminal at the root folder and serve the app using Vue CLI: @@ -86,7 +87,7 @@ npm run serve 4. Your breakpoint should now be hit as a new browser instance opens `http://localhost:8080`. -![Breakpoint Hit](/images/breakpoint_hit.png) +
Breakpoint Hit
## Alternative Patterns diff --git a/src/guide/single-file-component.md b/src/guide/single-file-component.md index df5927be3a..8f94fdcc44 100644 --- a/src/guide/single-file-component.md +++ b/src/guide/single-file-component.md @@ -15,7 +15,7 @@ All of these are solved by **single-file components** with a `.vue` extension, m Here's an example of a file we'll call `Hello.vue`: -Single-file component example (click for code as text) +
Single-file component example (click for code as text)
Now we get: @@ -25,7 +25,7 @@ Now we get: As promised, we can also use preprocessors such as Pug, Babel (with ES2015 modules), and Stylus for cleaner and more feature-rich components. -Single-file component with pre-processors example (click for code as text) +
Single-file component with pre-processors example (click for code as text)
These specific languages are only examples. You could as easily use TypeScript, SCSS, PostCSS, or whatever other preprocessors that help you be productive. If using Webpack with `vue-loader`, it also has first-class support for CSS Modules.