Simple Todo App built with Metal.js, intended to be used for metaljs.com tutorial.
Switch branches/tags
Nothing to show
Clone or download
Robert-Frampton Robert-Frampton
Robert-Frampton and Robert-Frampton Update URLs to tutorials
Latest commit d7bc360 Jan 15, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__
demos Provide both soy and jsx examples Nov 17, 2017
src Split up JSX components into different files Nov 22, 2017
.editorconfig Provide both soy and jsx examples Nov 17, 2017
.eslintrc Provide both soy and jsx examples Nov 17, 2017
.gitignore Config file was accidentally being ignored Dec 6, 2017
LICENSE.md Init commit Nov 15, 2017
README.md Update URLs to tutorials Jan 15, 2018
package-lock.json
package.json Rename project Nov 22, 2017
webpack.config.jsx.js Provide both soy and jsx examples Nov 17, 2017
webpack.config.soy.js

README.md

metal-tutorial-todo

Simple Todo App built with Metal.js, intended to be used for metaljs.com tutorial which can be found at https://metaljs.com/docs/tutorials/.

Setup

  1. Install NodeJS >= v4.0.0 and NPM >= v3.0.0, if you don't have it yet. You can find it here.

  2. Install local dependencies:

npm install

Build

There are four different build scripts that can be used in this project. Two for the JSX examples, and two for the Soy examples.

  • npm run build:jsx: builds the example located in src/jsx/
  • npm run build:jsx:final: builds the example located in src/jsx/final
  • npm run build:soy: builds the example located in src/soy/
  • npm run build:soy:final: builds the example located in src/soy/final

Please navigate to https://metaljs.com/docs/tutorials/tutorial-todo-jsx/ or https://metaljs.com/docs/tutorials/tutorial-todo-soy/ for more information.