Commit 6e8e61be authored by Zhongfu Bai's avatar Zhongfu Bai
Browse files

first commit

<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
wa, Hello world!
<strong>We're sorry but vision doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
<div id="app"></div>
<!-- built files will be auto injected -->
<div id="app">
<img alt="Vue logo" src="./assets/logo.png">
<HelloWorld msg="Welcome to Your Vue.js App"/>
import HelloWorld from './components/HelloWorld.vue'
export default {
name: 'app',
components: {
#app {
font-family: 'Avenir', Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
margin-top: 60px;
<div class="hello">
<h1>{{ msg }}</h1>
For a guide and recipes on how to configure / customize this project,<br>
check out the
<a href="" target="_blank" rel="noopener">vue-cli documentation</a>.
<h3>Installed CLI Plugins</h3>
<li><a href="" target="_blank" rel="noopener">babel</a></li>
<li><a href="" target="_blank" rel="noopener">eslint</a></li>
<h3>Essential Links</h3>
<li><a href="" target="_blank" rel="noopener">Core Docs</a></li>
<li><a href="" target="_blank" rel="noopener">Forum</a></li>
<li><a href="" target="_blank" rel="noopener">Community Chat</a></li>
<li><a href="" target="_blank" rel="noopener">Twitter</a></li>
<li><a href="" target="_blank" rel="noopener">News</a></li>
<li><a href="" target="_blank" rel="noopener">vue-router</a></li>
<li><a href="" target="_blank" rel="noopener">vuex</a></li>
<li><a href="" target="_blank" rel="noopener">vue-devtools</a></li>
<li><a href="" target="_blank" rel="noopener">vue-loader</a></li>
<li><a href="" target="_blank" rel="noopener">awesome-vue</a></li>
export default {
name: 'HelloWorld',
props: {
msg: String
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
h3 {
margin: 40px 0 0;
ul {
list-style-type: none;
padding: 0;
li {
display: inline-block;
margin: 0 10px;
a {
color: #42b983;
import Vue from 'vue'
import App from './App.vue'
Vue.config.productionTip = false
new Vue({
render: h => h(App),
from vision.views.index import show_index
import flask
import vision'/')
def show_index():
"""Display / route."""
context = {}
return flask.render_template("index.html", **context)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment