0.0.2 • Published 4 years ago

jmap-donneesclimatiques-js v0.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

The first time, install dependencies :

npm i

To start the application :

npm start

The application is accessible at this location : http://localhost:8083

When code is changed, it's automatically built and the web page refresh by its own (thanks webpack dev server).

Install the following vs-code extensions :

- "TSLint (deprecated)" extention
- "Prettier - Code formatter" extention (Author : Esben Petersen)
- "vscode-styled-components" extention (Author : Julien Poissonier)

Configure vscode

- Create or edit app/.vscode/settings.json
- Add the following content :
{
  "tslint.autoFixOnSave": true,
  "tslint.enable": true,
  "tslint.configFile": "./build/tslint.json",
  "editor.formatOnSave": true,
  "editor.tabSize": 2,
  "editor.detectIndentation": false
}

Améliorations possible

- Utiliser <FontAwesome /> plutôt que de faire le remplacement des balises <i> par les icones de FA