项目作者: sweb1433

项目描述 :
Super simple riot examples
高级语言: HTML
项目地址: git://github.com/sweb1433/POC-Riotjs.git
创建时间: 2017-08-25T10:13:39Z
项目社区:https://github.com/sweb1433/POC-Riotjs

开源协议:

下载


POC-Riotjs

  1. Super simple riot examples

Installation

  1. -install bower 1."npm install bower".
  2. -install riot 2."bower install riot" in the project directory.
  3. -install http server.
  4. -run "http-server" and open localhost:8080.
  5. navigate to localhost:8080/index2 to see conditional rendering.
  1. -Conditional Rendering:
  2. -go to tbh tag in index2.html and delete the text written in error part.
  3. -after deleting , the div part will not be rendered and not be visible to localhost:8080/index2.
  4. -this is because the length of error message is set to 0.
  5. -this is conditional rendering.