【文件属性】:
文件名称:flux-todomvc-demo:Flux官方TodoMVC演示的简化版
文件大小:92KB
文件格式:ZIP
更新时间:2021-05-14 21:41:27
CSS
TodoMVC是的,但对于初学者来说仍然很复杂。
此仓库是其简化版本。 希望对您了解Flux有帮助。
如何使用
$ git clone git@github.com:ruanyf/flux-todomvc-demo.git
$ cd flux-todomvc-demo && npm install
$ npm start
使用浏览器访问 。
如果要获取静态版本,请运行npm run build 。
$ npm run build
现在,在浏览器中打开index.html 。
学习助焊剂
及其是一个很好的入门指南。
TodoMVC:循序渐进
步骤1:HTML支架
index.html用于加载bundle.js 。
<!doctype html >
< html lang =" en " >
< head >
< meta charset =" utf-8 " >
【文件预览】:
flux-todomvc-demo-master
----.gitignore(13B)
----package.json(657B)
----webpack.config.js(211B)
----todomvc-common()
--------base.css(9KB)
--------bg.png(2KB)
----js()
--------dispatcher()
--------app.js(147B)
--------components()
--------stores()
----css()
--------app.css(518B)
----README.md(7KB)
----screenshot.png(77KB)
----index.html(404B)