*.vue=<template> </template>+<style></style>+<script></script>
sudo npm install -g vue-cli
vue init webpack my-project
cd my-project
sudo npm install
npm run dev
problem:
通过ip不能访问:
http://www.cnblogs.com/wangyanhua95/p/7954019.html#3864552
把config index.js 里面的host改为 ‘0.0.0.0’ ,