Load file extension icon using vscode-icons
Clone this project and run on terminal:
yarn install
yarn run dev
http://localhost:3000/?file=script.jsx
http://localhost:3000/?file=https://host/layout.sketch
http://localhost:3000/?file=.prettierrc
http://localhost:3000/?file=icon.svg
https://codepen.io/giovanigenerali/pen/jJMaNK
https://jsfiddle.net/giovanigenerali/4bcwko60/
- vscode-icons extension for vscode
- vscode-icons-js