没有合适的资源?快使用搜索试试~ 我知道了~
flask-wire:Flask扩展,将“ HTML over the wire”功能引入Flask
共27个文件
js:8个
py:4个
html:4个
需积分: 9 0 下载量 39 浏览量
2021-05-06
20:59:07
上传
评论
收藏 194KB ZIP 举报
温馨提示
烧瓶线 Flask-Wire是Flask扩展,它为Flask带来了“ HTML over the wire”功能。 它受Laravel的和Ruby on Rails的启发很大,最后但并非最不重要的是 。 如果您以前从未听说过“ HTML over the wire”,请阅读以使您快速入门。 用法 首先,运行以下命令安装软件包 pip install Flask-Wire 现在,让我们编写一个简单的Flask应用程序,以演示实际的扩展。 app.py import time from flask import Flask , render_template_string from flask_wire import Wire def create_app (): app = Flask ( __name__ ) Wire ( app ) @ app . rou
资源推荐
资源详情
资源评论
收起资源包目录
flask-wire-main.zip (27个子文件)
flask-wire-main
MANIFEST.in 50B
README.rst 8KB
example
templates
messages.html 267B
messages_count.html 55B
index.html 2KB
__init__.py 2KB
package.json 591B
.github
workflows
publish.yml 2KB
demo.gif 78KB
js
browser.js 1KB
utils.js 715B
index.js 11KB
tests
index.spec.js 317B
dom.spec.js 1KB
dom.js 2KB
dev.txt 37B
setup.py 1KB
.gitignore 54B
CHANGELOG.md 270B
flask_wire
utils.py 399B
templates
wire
macros.html 2KB
static
js
bundle.js 18KB
__init__.py 1KB
yarn.lock 261KB
build.sh 116B
publish.sh 88B
babel.config.js 107B
共 27 条
- 1
资源评论
YoviaXU
- 粉丝: 42
- 资源: 4627
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功