# 在Git命令行工具中,将这个项目拷贝到本地
git clone https://github.com/zhenye163/learn-vuex
# 用npm命令导入该项目需要的依赖包
npm install
# 运行该项目
npm run dev
- 访问 (http://localhost:8080/#/) 可以进入Vue主页
- 访问 (http://localhost:8080/#/family) 可以进入在家吃饭主页
- 访问 (http://localhost:8080/#/restaurant) 可以进入在餐馆吃饭主页