nx-js / todomvc-example

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

Home Page:http://www.nx-framework.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

http://www.nx-framework.com/

License:MIT License


Languages

Language:JavaScript 90.9%Language:CSS 7.1%Language:HTML 2.0%