Skip to content

nx-js/todomvc-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TodoMVC example

Live demo

This is a fully spec compliant TodoMVC example - written in NX.

It is built without a bundler, using old school script and link tags only. If you are interested in a larger bundled app, check out the Intro app or the Hacker News clone.

Usage

Clone the repo and run npm i and npm start. The npm start command bundles the source and starts a local server. The demo is exposed on localhost:3000.

Project structure

The project is structured in the following way.

  • The static folder includes the static assets of the app. These include the standard TodoMVC scripts and styles and the NX framework.
  • index.html contains the whole view of the app. It imports all of the static assets and components with script and link tags.
  • The components folder includes the logic of the components.
  • server.js is only used for local testing, as the page is hosted on Github Pages. It serves as a simple server example for single page applications.

About

A small and fully spec-compliant TodoMVC implementation in NX.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published