Files
test_OgureNG/frontend-react/README.md
2022-11-08 21:21:18 +01:00

1.2 KiB

frontend-react

pre-requis

  • node-v14.18.3 (nodejs, npm, ...) disponible avec chemin identifie dans $PATH

  • packages npm

    1. déposés sur registry (medusa) pour install
    2. ou extraits depuis .tar.gz

voir install/README.md section frontend-react

install

npm install

// test ok avec node v14.18.3
// note : test ko avec v16.x : TODO: comprendre pourquoi il est impossible d'aller au bout...

serve (dev mode)

npm run start3

build (4prod)

npm run build:prod

serve nginx (4prod)

TODO: à vérifier

cd frontend-react
sudo cp -rf _dist /usr/share/nginx/html/.

qui participe au builf final ?

TODO: à vérifier

public tinymce js ... index.html

src assets css images favicons fonts FONTES.woff2 i18n styles

static frontend assets images ogure.png < + build > assets css donnees-de-... images marques SVG... static media FONTES.woff2 index.html main.js main.js.LICENCE.txt

templates frontend index.html