Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
css Adds todoapp sample with lit-html Jul 14, 2019
sam Adds todoapp sample with lit-html Jul 14, 2019
tests
index.html Adds some details in the todo-app-lit-html README Jul 14, 2019
package-lock.json Adds todoapp sample with lit-html Jul 14, 2019
package.json Adds todoapp sample with lit-html Jul 14, 2019
readme.md Fixes typo Jul 14, 2019

readme.md

SAM TodoMVC lit-html Implementation

SAM is a new software engineering pattern that simplifies the Front-End development by cleanly separating the business logic from the view and strictly decoupling back-end APIs from the Front-End. - The SAM Pattern

This code sample uses the sam-pattern library

Getting started

  • Clone this repo and install the dependencies with npm by running: npm install.
  • Open the the index.html file

Implementation

The sam directory contains all the application's code. The application logic is in the todoComponent.js file. The theme.js implements the view in a functional html style using lit-html.

License

The SAM sample code is "unlicensed"
Creative Commons License
Work by TasteJS is licensed under a Creative Commons Attribution 4.0 International License.

You can’t perform that action at this time.