I'm going to launch a new project with this two frameworks (I like):
- Laravel 5
- Vue.js
The Frontend developer prepares the HTML's in atomic design, generated with patternlab.io.
Now I'm looking how I can integrate the patternlab.io project that I don't have to rewrite all the elements in a blade template.
I found some implementations combining Patternlab & Laravel using TwigBridge
, Laratash
Laravel extensions.
But I've some thoughts:
- In the blade templates there is: logic, conditions, loops,.... If I combine
patternlab
andlaravel
then I need to put all this in the patternlab project. - Because of using
vue.js
I need to add also these tags to thepatternlab
templates
So I think it's not the best choice to integrate the patternlab.io templates in the laravel project.
My idea was:
- Frontend DEV uses patternlab to create the templates
- Laravel automatically generates & imports the CSS Stylesheet generated in patternlab
- The Backend Developers copy the
patternlab - molecules
manually in the blade templates and add their own logic - If the Frontend DEV make changes on CSS, it's fine - we'll run in no issues; after rerunning the laravel gulp process to update the css files we have the new updates.
- If the Frontend DEV makes some changes on a 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?