摘要:项目目录: Node_modules/npm安装的该项目的依赖库 vuex/文件夹存放的是和 Vuex store 相关的东西(state对象,actions,mutations) router/文件夹存放的是跟vue-router相关的路由配置项 build/文件是 webpack 的打包编译配置
阅读全文
摘要:vue-router(http://router.vuejs.org) vuex(https://vuex.vuejs.org/zh/guide/) vue-resource(https://github.com/pagekit/vue-resource) 构建工具vue-cli
阅读全文
摘要:1.官网: https://code.visualstudio.com/Download 2.插件: https://marketplace.visualstudio.com/VSCode https://github.com/varHarrie/varharrie.github.io/issues
阅读全文
摘要:首选项 设置-用户中添加"dpi_scale": 1.0,如下图所示 作者:smile.轉角 QQ:493177502
阅读全文
摘要:MDN说法: max-height 这个属性会阻止 height 属性的设置值变得比 max-height 更大。 max-height 属性用来设置给定元素的最大高度. 如果height 属性设置的高度比该属性设置的高度还大,则height 属性会失效. max-height 重载(覆盖掉) he
阅读全文
摘要:以自己的项目为例 第一步:手动修改config文件夹中的index.js文件中的build对象,将 assetsPublicPath 中的 “/” ,改为 “你实际的加载路径” 如图: 第二步:执行(c)npm run build 第三步:发现目录下多一个dist的文件夹,双击点击index.htm
阅读全文
摘要:https://www.cnblogs.com/koubazhuanshu/p/6985331.html https://www.w3cplus.com/css/px-to-em 不建议使用 作者:smile.轉角 QQ:493177502
阅读全文
摘要:方法一: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> var arr = [ { group:"user", id:"2642ba0e_20d
阅读全文