Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Why does the LINE front-end separate markup and logic?

Why does the LINE front-end separate markup and logic?

LINE DevDay 2020

November 26, 2020
Tweet

More Decks by LINE DevDay 2020

Other Decks in Technology

Transcript

  1. Agenda › Possible Cons › Why do LINE front-end projects

    separate markup from business logic? › Our Workflow
  2. Why do LINE front-end projects separate markup and business logic?

    Make choosing a JS/CSS library easier Keep a high UI quality standard Work in parallel
  3. Our Workflow QA Write business logic in JS Write markup

    using HTML/CSS Create a new project Designers Review
  4. Our Workflow QA Write business logic in JS Write markup

    using HTML/CSS Create a new project Designers Review Import CSS/HTML in JS
  5. Create a new project You have two Options: 2. Use

    Github Repository Template 1. Use @linecorp/frontend-template-cli
  6. Create a new project frontend-template directory structure Tools for markup

    are included in the "packages/markup/" directory. The JavaScript project should be created in a new directory under the "packages" directory.
  7. Create a new project frontend-template directory structure Tools for markup

    are included in the "packages/markup/" directory. The JavaScript project should be created in a new directory under the "packages" directory.
  8. Our Workflow QA Write business logic in JS Write markup

    using HTML/CSS Create a new project Designers Review Import CSS/HTML in JS
  9. Generating HTML/CSS How to write markup Review Write HTML Write

    CSS Use 11ty as a static site generator Use Sass and CSS guideline Make to deploy is easier
  10. Our Workflow QA Write business logic in JS Write markup

    using HTML/CSS Create a new project Designers Review Import CSS/HTML in JS
  11. Why do LINE front-end projects separate markup and business logic?

    Make choosing a JS/CSS library easier Keep a high UI quality standard Work in parallel