The company recently doing a project, is still using the familiar vue development, data platform because of its large amount of data features, traditional spa model home for a long time to load, and in this way to the SSR load time optimization of the fold Obviously, at the same time also facilitate the conduct of SEO. So take the opportunity to learn Nuxt.js framework (document details, updates quickly, issue timely feedback) and iview (a relatively good UI, basically meet the needs of the project).
Screenshot portion of the project
A screenshot: account number and password free to fill
Screenshot II:
Screenshot three:
Refresh your browser, retrieve the page from the server, see already rendered html
project address
git clone https://github.com/moedong/nuxt-iview.git
installation
npm install
Develop
npm run dev
// GO to http://127.0.0.1:3000
test environment
// 需要pm2,如果没有安装的先安装 npm install -g pm2
npm run publish:test
Production Environment
// 需要pm2,如果没有安装的先安装 npm install -g pm2
npm run publish:prod