上一页 1 2 3 4 5 6 7 8 ··· 45 下一页
摘要: 步骤 1、安装styleLint npm i stylelint --save-dev 2、新建.stylelintrc.json文件 内容如下: { "extends": "stylelint-config-standard", "rules": { "indentation": 4, "font 阅读全文
posted @ 2022-03-02 20:08 坤嬷嬷 阅读(737) 评论(0) 推荐(0) 编辑
摘要: 步骤 1、安装eslint npm i eslint --save-dev 2、新建.eslintrc文件 文件内容如下: { "extends": ["plugin:vue/recommended", "prettier"], // 是一个 npm 包,它输出一个配置对象。要确保这个包安装在 ES 阅读全文
posted @ 2022-03-01 19:11 坤嬷嬷 阅读(302) 评论(0) 推荐(0) 编辑
摘要: nom i less less-loader --save-dev 暂无其他配置 阅读全文
posted @ 2022-02-28 20:10 坤嬷嬷 阅读(81) 评论(0) 推荐(0) 编辑
摘要: # npm 6.x $ npm init vite@latest <project-name> --template vue # npm 7+,需要加上额外的双短横线 $ npm init vite@latest <project-name> -- --template vue $ cd <proj 阅读全文
posted @ 2022-02-28 20:07 坤嬷嬷 阅读(303) 评论(0) 推荐(0) 编辑
摘要: vue3插件如下: 使用的时候要把vue2的插件关闭 写vue2的时候也要记得关闭vue3的插件 阅读全文
posted @ 2022-02-28 19:56 坤嬷嬷 阅读(1395) 评论(0) 推荐(0) 编辑
摘要: 参考 https://blog.csdn.net/qq_29468573/article/details/80771625 阅读全文
posted @ 2022-02-15 14:35 坤嬷嬷 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 参考 跨源资源共享(CORS) 阅读全文
posted @ 2022-02-09 19:52 坤嬷嬷 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 前言 前端开发中经常会遇见一种效果,滚动时顶部title吸顶,那么这个效果怎么实现呢? 解决 方案一:使用position:fixed 方案二:使用position:sticky 参考:杀了个回马枪,还是说说position:sticky吧 阅读全文
posted @ 2022-02-08 14:29 坤嬷嬷 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 参考 游戏商业化的又一重大创新——详解Battle Pass 阅读全文
posted @ 2022-02-08 11:44 坤嬷嬷 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 如图:一个主机/服务器只有一个IP地址,可以分为公网IP和内网IP,一个主机可以通过端口分成多个应用程序,因此一个主机可以有多个域名 第一个和第四个域名相同端口不同,如果第一个域名访问第四个域名会跨域,因为端口不同,可以使用nginx转发或者服务端支持跨域就可以了 一个ip可以对应多个域名吗? 答案 阅读全文
posted @ 2022-01-18 14:44 坤嬷嬷 阅读(442) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 45 下一页