Vue combat _ project configuration mobile terminal rem layout

1. Install lib-flexible

npm install lib-flexible --save

2. Introduce lib-flexible in the project entry file main.js

import 'lib-flexible/flexible'

When the following line of text appears in the console column of the page, the configuration is successful

Guess you like

Origin blog.csdn.net/qq_41916378/article/details/108703318