Answer the question
In order to leave comments, you need to log in
Is it possible to use webpack for layout?
Please tell me if it is possible to use webpack for layout and front-end, for example, an online store, this is already the 10th store in 3 months and in which there are 30+ pages. I don’t have the strength to write noodles in jQuery, I want to structure and break this noodles into modules, now I use Gulp. Internet shops on bitrix, modx, etc.
src structure:
public
css
common
_variables.scss
_typography.scss
main.scss
img
index
index-1.png
1.png
2.png
js
header.js
sidebar.js
filter.js
card.js
pug
index.pug
about.pug
catalog.pug
contacts.pug
Structure public:
public
css
main.css
img
index
index-1.png
1.png
2.png
js
main.js
index.html
about.html
catalog.html
contacts.html
Answer the question
In order to leave comments, you need to log in
I suggest. Webpack cannot be used directly for layout as a process .
But it can be used to assemble markup and layout files.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question