All Projects → yymm → Flask Vuejs

yymm / Flask Vuejs

Example & Tips, Flask with Vue.js.

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Flask Vuejs

Ctfd
CTFs as you need them
Stars: ✭ 3,768 (+910.19%)
Mutual labels:  flask
Flask Sqlalchemy
Adds SQLAlchemy support to Flask
Stars: ✭ 3,658 (+880.7%)
Mutual labels:  flask
Topaz
A configurable, easy to maintain personal website
Stars: ✭ 362 (-2.95%)
Mutual labels:  flask
Gather Deployment
Gathers scalable tensorflow and infrastructure deployment
Stars: ✭ 326 (-12.6%)
Mutual labels:  flask
Meinheld Gunicorn Flask Docker
Docker image with Meinheld and Gunicorn for Flask applications in Python. Optionally with Alpine Linux.
Stars: ✭ 336 (-9.92%)
Mutual labels:  flask
Microblog
A microblogging web application written in Python and Flask that I developed as part of my Flask Mega-Tutorial series.
Stars: ✭ 3,788 (+915.55%)
Mutual labels:  flask
Flask Smorest
DB agnostic framework to build auto-documented REST APIs with Flask and marshmallow
Stars: ✭ 317 (-15.01%)
Mutual labels:  flask
Flask Tutorial
Flask 入门教程:使用 Python 和 Flask 开发你的第一个 Web 程序
Stars: ✭ 365 (-2.14%)
Mutual labels:  flask
Cmdb
CMDB: configuration and management of IT resources, demo: http://121.42.12.46:8000
Stars: ✭ 337 (-9.65%)
Mutual labels:  flask
Pytest Flask
A set of pytest fixtures to test Flask applications
Stars: ✭ 359 (-3.75%)
Mutual labels:  flask
Tasking Manager
Tasking Manager - The tool to team up for mapping in OpenStreetMap
Stars: ✭ 328 (-12.06%)
Mutual labels:  flask
Ssdbadmin
SSDB可视化界面管理工具 ssdb web manager tool
Stars: ✭ 336 (-9.92%)
Mutual labels:  flask
Head First Flask
📙Introduction to Flask Web development.
Stars: ✭ 355 (-4.83%)
Mutual labels:  flask
Flask Bookshelf
Flask Series
Stars: ✭ 327 (-12.33%)
Mutual labels:  flask
Cnn handwritten chinese recognition
CNN在线识别手写中文。
Stars: ✭ 365 (-2.14%)
Mutual labels:  flask
Prometheus flask exporter
Prometheus exporter for Flask applications
Stars: ✭ 318 (-14.75%)
Mutual labels:  flask
Flask Session
Server side session extension for Flask
Stars: ✭ 344 (-7.77%)
Mutual labels:  flask
Pepy
pepy is a site to get statistics information about any Python package.
Stars: ✭ 369 (-1.07%)
Mutual labels:  flask
Explore Flask Zh
Explore Flask中文翻译。关于flask的一些最佳实践。
Stars: ✭ 368 (-1.34%)
Mutual labels:  flask
Responder
A familiar HTTP Service Framework for Python.
Stars: ✭ 3,569 (+856.84%)
Mutual labels:  flask

Flask-Vue.js

🍣 compatible Vue.js v2 🍣

confrict a Jinja2 delimiter and Vue.js delimiter...

=> change Jinja2 delimiter

from flask import Flask

class CustomFlask(Flask):
  jinja_options = Flask.jinja_options.copy()
  jinja_options.update(dict(
    block_start_string='(%',
    block_end_string='%)',
    variable_start_string='((',
    variable_end_string='))',
    comment_start_string='(#',
    comment_end_string='#)',
  ))

app = CustomFlask(__name__)

#
# your flask code here
#

=> change Vue.js delimiter

var app = new Vue({
  el: "#app",
  delimiters: ["[[", "]]"],
  data: {
    message: "Hello Vue!"
  }
})

Example & Tips

This repository contain some example, if you want to try it please do as follows.

requirements: Flask (=> pip install Flask)

$ git clone https://github.com/yymm/flask-vuejs.git
$ cd flask-vuejs
$ python app.py

see localhost:5000.

Heroku Button

Try it now.

Deploy

Menu

  • [x] Jinja2 & Vue.js
  • [x] with SQLAlchemy(Flask-SQLAlchemy)
  • [x] more...
  • SPA
    • using CDN
      • [x] vue-router
    • using Node.js(using vue-cli 'webpack-simple')
      • [x] Single File Component
      • [ ] TypeScript with Single File Component
      • [x] Vuex
  • [x] Vue.js v0.10.3
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].