2022年11月
利用device-pixel-ratio单独适配像素比@media all
and (-moz-min-device-pixel-ratio: 1.09) and (-moz-max-device-pixel-ratio: 1.18),
(-webkit-min-device-pixel-ratio: 1.09) and (-webkit-max-device-pixel-ratio: 1.18),
(min-resolution: 1.09dppx) and (max-resolution: 1.18dppx) {
:root {
- 阅读剩余部分 -
首先安装vue-i18n包新建locales/i18n.js文件/**
* Created by liweiliang 406320591@QQ.com on 2022/10/14 15:16.
*/
import Vue from "vue";
import VueI18n from "vue-i18n";
import elementZhLocale from "element-ui/lib/locale/lang/zh-CN"; // element-ui lang
import elementEnLoc- 阅读剩余部分 -
vue项目根目录新增配置文件 .babelrc{
"presets": [
"stage-2"
]
}
修复好 Syntax Error: Unexpected token 启动发现又报如下问题Failed to compile with 9 errors
Module build failed: Error: No PostCSS Config found in: D:\project\
根目录新建postcss.config.js/**
* Created by liweiliang 406320591@QQ- 阅读剩余部分 -