Browse Source

Step 2.2: Replace starter HTML code. Add .gitignore.

Frederic G. MARAND 8 years ago
parent
commit
761c4fb114
2 changed files with 35 additions and 9 deletions
  1. 33 0
      .gitignore
  2. 2 9
      simple-todos-react.html

+ 33 - 0
.gitignore

@@ -0,0 +1,33 @@
+.idea
+.DS_Store
+.meteor/local
+
+### Node template
+# Logs
+logs
+*.log
+npm-debug.log*
+
+# Runtime data
+pids
+*.pid
+*.seed
+
+# Directory for instrumented libs generated by jscoverage/JSCover
+lib-cov
+
+# Coverage directory used by tools like istanbul
+coverage
+
+# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
+.grunt
+
+# node-waf configuration
+.lock-wscript
+
+# Compiled binary addons (http://nodejs.org/api/addons.html)
+build/Release
+
+# Dependency directory
+# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
+node_modules

+ 2 - 9
simple-todos-react.html

@@ -1,14 +1,7 @@
 <head>
-  <title>simple-todos-react</title>
+  <title>Todo List</title>
 </head>
 
 <body>
-  <h1>Welcome to Meteor!</h1>
-
-  {{> hello}}
+  <div id="render-target"></div>
 </body>
-
-<template name="hello">
-  <button>Click Me</button>
-  <p>You've pressed the button {{counter}} times.</p>
-</template>