A Vue.js project
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm start 或 npm run dev
# build for production with minification
npm run buildFor detailed explanation on how things work, checkout the guide and docs for vue-loader.
##代理设置
修改代理请修改build/config.js中的proxyTable属性
proxyTable: {
'/api/*': {
target: 'http://192.168.2.20:8090'
}
}
##页面配置文件
修改页面请修改src/entry.js中的pages对象
let pages = {
home: 'pages/home/home.js',
index: 'pages/index/index.js',
vocation: 'pages/vocation/vocation.js',
vocationDetail: 'pages/vocationDetail/vocationDetail.js',
};