Ariane Web et Plus Posted February 23, 2017 Posted February 23, 2017 (edited) Bonjour, J'ai passé la matinée à essayer d'installer les outils pour la compilations des fichiers css et js du thème classic, alors je vous propose un petit topo sur ce que j'ai fait. Pour pouvoir compiler il faut télécharger package.json sur https://github.com/PrestaShop/PrestaShop/tree/develop/themes/classic/_dev Et l'installer dans le thème dans le dossier _dev Puis installer note.js https://nodejs.org/en/ Ouvrez une console avec windows powerShell si vous etes sur windows ou une fenetre terminal sur mac. Installez webpack cd maboutique/themes/montheme/_dev/ webpack -w npm install Pour recompiler les fichiers : npm run build C'est la ou j'ai eu des erreurs, certaine installations ne sont pas les bonnes, j'ai trouvé ca sur le forum anglais npm uninstall jquery npm install [email protected] npm uninstall tether npm install [email protected] npm uninstall events npm install [email protected] npm uninstall flexibility npm install [email protected] npm unsinstall node-sass npm install [email protected] npm-install open-sans-fontface npm-uninstall material-design-icons npm install material-design-icons npm unsinstall node-sass npm install [email protected] npm-install open-sans-fontface npm-uninstall material-design-icons npm install material-design-icons Et ca fonctionne avec la 1.7.0.5, j'ai pu recompiler mes fichiers Voila en espérant que ça aide. Voila le lien vers le forum anglais : https://www.prestashop.com/forums/topic/538034-help-using-webpack/ Edited April 7, 2017 by Ariane Web et Plus (see edit history) 1 Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now