Search the Community
Showing results for tags 'webpack'.
-
Hi I wondered if anyone had ran into the issue below and could provide me tips for solving it. I need to make a change to the Stock management page in the back office, which has been migrated to Symfony and uses modules such as webpack and vue.js. Therefore I did the following: Downloaded the developer version of the admin folder (admin-dev) from https://github.com/PrestaShop/PrestaShop Installed all necessary modules into the /admin/themes/new-theme/ using the command npm install. All works well so far, I made the necessary changes to the stock page and ran npm build to make the changes live. All good so far and the changes were visible in the back office stock management page. However, I then switched to the Catalog > Products > Edit Products and notice a bunch of errors which breaks the functionality of this page. The above was done on Prestashop 1.7.6.1 Errors are attached. Why is the build producing problems? Have I missed something? Any help would be appreciated. Kind Regards Musaffar
-
Hello, dear colleagues. Could you explain how to use webpack for the theme source map generation please? I installed development prestashop 1.7.6.1 version from the official github repository on Ubuntu 18.04.3 LTS server, performing the steps from the Installing PrestaShop for development documentation I installed nodejs and npm, npm -v 3.5.2, node --version v8.10.0 since the documentation says that I run npm install in the _dev folder Here are my questions: I see that there is the theme.css.map in the assets/css folder of the classic theme, but I do not see the source sass file in Firefox Development version, show sources option is enabled I expect that the watch mode should regenerate the theme.css.map but it does not. I tried to delete theme.css.map, but it is not generated after nmp run watch What I am doing wrong?
- 4 replies
-
- prestashop
- 1.7
-
(and 3 more)
Tagged with:
-
Hi everyone thanks for helping me solve this issue. Context : I have to do modifications on a existent Prestashop website. I have to add new functionalities and do styling modification on the front-end. The previous developer removed the entire _dev folder (from themes/classic/_dev). And I dont know how to access the actual scss file do change them. Problem : Everything is compiled and I cant find a way to recover/uncompile the scss file via webpack. Someone has a way to do it or an idea to do so ? How can I get the uncomplied files from the compiled ones Thx a lot PS: Im working on a prestashop 1.7.6.9
- 1 reply
-
- prestashop
- webpack
-
(and 2 more)
Tagged with:
-
Hello, I am fairly new to Prestashop. I have been searching for a CMS that would allow me to create a webstore that is fully customizable. I think I like the Prestashop Starter Theme option. I have Prestashop installed on my local host using MAMP on my iMac. However when I make edits to CSS I am not seeing changes. What is the proper Developer Environment that will allow quick updates to the changes I make in CSS or HTML? Also where can I study Smarty templates?
-
Hi there, I am creating a theme for 1.7 based on the StarterTheme. I am replacing Stylus with Sass and implementing Bootstrap 3.x, and no problems so far, but things are different when laying my hands on Webpack. I just have no idea. Ideally I would replace it with Grunt or Gulp, since I have experience with them and use them fine in other projects, but I guess that Webpack is being used to include default PrestaShop Javascript. Is this true? Can I just exclude Webpack from the party or am I being forced to use it? Also, as a side note, I am not new to web development and project tooling in general. It's just Webpack that I don't know how to use. Thanks!
-
Hey Allen, Ik ben vrij nieuw met Prestashop maar heb wel veel ervaring in het programmeren van PHP. Nu ben ik mij gaan verdiepen in het maken van een PrestaShop thema en kwam daarbij uit bij het door PrestaShop zelf geadviseerde Startertheme: https://github.com/PrestaShop/StarterTheme Nu heb ik eerst het thema gemaakt in HTML en SaSS waarna ik deze nu wil omzetten naar een PrestaShop thema. Hierbij kwam ik er achter dat in plaats van Gulp wat ik gebruikt heb ze bij PrestaShop de voorkeur hebben voor webpack. Dan denk je geen probleem dat bouw ik even om... dat valt vies tegen moet ik zeggen. Zo kom ik er achter dat ze gebruik maken van Webpack 1.15 terwijl Webpack 3.10 al uit is... en zo ook alle dependencies. Mijn vraag is dan ook is er hier iemand die gebruik maakt van deze startertheme en hoe werkt dat webpack? Als ik de youtube video's bekijk zou je enkel de JS moeten inladen welke vervolgens alle CSS voor je inlaad (dit gebeurd niet bij mij). Ik ben benieuwd naar jullie reacties. Bedankt alvast!
-
Hello Everyone, I just started the new version of my site from the actual one at (1.5 RIP i know is so old ) to the new one 1.7.0.2 . First of all i want to tell you that im not a pro in this new sass system and im trying to do my best to get this to work but its impossible for me. I installed node + npm, i have used compass ,scout, webpack ,and everything fails. What i want is to write scss in _dev folder and compile an output in /assets/css/theme.css but i can't doit and i only found this site http://developers.prestashop.com/themes/assets/index.html#about-webpack Hopefully someone can help me and help others that have the same problem. P.S: Sorry if the way that i wrote in english is not the best way. Thank you in advance