I am going to launch a new project with these two frameworks (I like it):
Frontend developer is preparing HTML in atomic design created using patternlab.io.
Now I am looking at how I can integrate the patternlab.io project so that I do not need to rewrite all the elements in the blade template.
I found some implementations combining Patternlab and Laravel using TwigBridge , Laratash Laravel Laratash .
But I have some thoughts:
- The blade templates have: logic, conditions, loops, .... If I combine
patternlab and laravel , then I need to put all this into a patternlab project. - Due to the use of
vue.js I need to add these tags to patternlab templates patternlab
Therefore, I believe that this is not the best choice for integrating patternlab.io templates into a laravel project.
My idea:
- Frontend DEV uses patternlab to create patterns
- Laravel automatically generates and imports the CSS stylesheet generated by patternlab
- Backend developers copy
patternlab - molecules manually in blade server templates and add their own logic - If Frontend DEV makes changes to CSS, thatβs good - we wonβt run any problems; after restarting the laravel gulp process to update css files, we have new updates.
- If Frontend DEV makes some changes to the html structure, we need to manually adjust them.
Is there a better solution combining Atomic Design, Vuejs and Laravel? How do you deploy atomic design in your CMS?
source share