![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
Yustin-z
这个作者很懒,什么都没留下…
展开
-
vue中rem配置
rem配置 1.在app.vue中添加如下代码:document.addEventListener("DOMContentLoaded", () => { const html = document.querySelector("html"); let fontSize = window.innerWidth / 10; fontSize = fontSize &...原创 2019-12-30 10:54:43 · 252 阅读 · 0 评论 -
vue 中 使用css-px2vw 单位转化插件
1.安装插件npm i postcss-px-to-viewport --save-dev2.在一级目录中新建**postcss.config.js**,然后在文件中添加以下代码 module.exports = { plugins: { autoprefixer: {}, "postcss-px-to-viewport": ...原创 2019-12-18 16:18:44 · 3888 阅读 · 1 评论 -
webpack配置vue错误解决
# 解决webpack打包vue出现[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-incl...原创 2019-11-29 10:07:33 · 371 阅读 · 0 评论