express display database data

app.js

import Vue from 'vue'
import App from './App.vue'

import ElementUI from "element-ui";
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

Vue.config.productionTip = false; // set to false to prevent vue generate production tips at startup, you can check the API documentation

Vue new new ({
EL: '#app', // app ID DOM element will be mounted (replacement) of the element (http://www.amjmh.com/v/BIBRGZ_558768/)
Components: the App {} and // component, this component corresponding to a large container, for carrying our other page
template: '<App />' // packed into the assembly of such a template, and mount it (replace) to #app this on the DOM
});
---------------------

Guess you like

Origin www.cnblogs.com/hyhy904/p/11325310.html