Use nuxt + iView admin + koa2 to develop the project

Time:2021-7-26

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

Use nuxt + iView admin + koa2 to develop the project

Screenshot 2:

Use nuxt + iView admin + koa2 to develop the project

Screenshot 3:

Use nuxt + iView admin + koa2 to develop the project

Refresh the browser, get the page from the server again, and see the rendered HTML

Use nuxt + iView admin + koa2 to develop the project

Project address

git clone https://github.com/moedong/nuxt-iview.git

install

npm install

development

npm run dev

// GO to http://127.0.0.1:3000

testing environment

//PM2 is required. If it is not installed, install NPM install - G PM2 first
npm run publish:test

production environment

//PM2 is required. If it is not installed, install NPM install - G PM2 first
npm run publish:prod

reference material

nuxt.js
iview
iview-admin
koa-template