Skip to content

Commit a3d002e

Browse files
marioneblgaearon
authored andcommitted
Add svg rendering for error example (#3825)
* Add svg rendering for error example * Use static svg error example
1 parent ed27629 commit a3d002e

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
8484
The page will automatically reload if you make changes to the code.<br>
8585
You will see the build errors and lint warnings in the console.
8686

87-
<img src='https://camo.githubusercontent.com/41678b3254cf583d3186c365528553c7ada53c6e/687474703a2f2f692e696d6775722e636f6d2f466e4c566677362e706e67' width='600' alt='Build errors'>
87+
<p align='center'>
88+
<img src='https://cdn.rawgit.com/marionebl/create-react-app/9f62826/screencast-error.svg' width='600' alt='Build errors'>
89+
</p>
8890

8991
### `npm test` or `yarn test`
9092

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"publish": "tasks/publish.sh",
1414
"start": "cd packages/react-scripts && node bin/react-scripts.js start",
1515
"screencast": "node ./tasks/screencast.js",
16+
"screencast:error": "svg-term --cast jyu19xGl88FQ3poMY8Hbmfw8y --out screencast-error.svg --window --at 12000 --no-cursor",
1617
"test": "cd packages/react-scripts && node bin/react-scripts.js test --env=jsdom",
1718
"format": "prettier --trailing-comma es5 --single-quote --write 'packages/*/*.js' 'packages/*/!(node_modules)/**/*.js'",
1819
"precommit": "lint-staged"

screencast-error.svg

+1
Loading

0 commit comments

Comments
 (0)