vue.js演示
Vue JS新闻应用程序 (Vue JS News App)
Builds a news app with Vue JS.
使用Vue JS构建新闻应用程序。
![demo](https://vuejsexamples.com/content/images/2018/09/demo.gif)
建立 (Setup)
Setup and use requires Git, Node JS (8.X.X or later), and a text editor such as VS Code.
设置和使用需要Git,Node JS(8.XX或更高版本)和文本编辑器(例如VS Code)。
If you're on a Mac, I'd suggest using Homebrew for installing the required software listed in Setup.
如果您使用的是Mac,建议您使用Homebrew安装安装程序中列出的必需软件。
git clone https://github.com/cujarrett/basic-vue-js-web-app.git
cd basic-vue-js-web-app
npm install
构建设置 (Build Setup)
Install dependencies
安装依赖
npm install
Lint code
皮棉代码
npm run lint
Linting code and fix most errors
整理代码并修复大多数错误
npm run lint-and-fix
Runs Continuous Integration (linting and tests)
运行持续集成(评估和测试)
npm run ci
Serve with hot reload at localhost:8080
在本地主机上热加载服务:8080
npm run dev
Build for production with minification
精简生产
npm run build
npm start
Build for production and view the bundle analyzer report
量产并查看捆绑分析器报告
npm run generate
翻译自: https://vuejsexamples.com/simple-vue-js-web-app-to-demonstrate-the-framework/
vue.js演示