A recent project of the company is still developed with the familiar Vue. Because of its large amount of data, the data platform adopts the Traditional spa mode, which takes a long time to load the home page. However, SSR is obvious for the optimization of the loading time of the first screen, and it can also facilitate SEO. Therefore, take the opportunity to learn the nuxt.js framework (detailed documents, fast updates and timely issue feedback) and iView (an excellent UI, which basically meets the needs of the project).
Screenshot of the project
Screenshot 1: fill in the account number and password at will
Refresh the browser, get the page from the server again, and see the rendered HTML
git clone https://github.com/moedong/nuxt-iview.git
npm run dev // GO to http://127.0.0.1:3000
//PM2 is required. If it is not installed, install NPM install - G PM2 first npm run publish:test
//PM2 is required. If it is not installed, install NPM install - G PM2 first npm run publish:prod