会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
岁月静好,怎奈神偷
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
下一页
2019年6月21日
js 常用工具类
摘要: /** * 存储sessionStorage */const setStore = (name, content) => { window.sessionStorage.setItem(name, content);}/** * 获取localStorage */ const getStore =
阅读全文
posted @ 2019-06-21 15:42 青春无敌小宇宙
阅读(189)
评论(0)
推荐(0)
2019年6月19日
sessionStorage 和 localStorage
摘要: html5 中的 web Storage 包括了两种存储方式:sessionStorage 和 localStorage。 sessionStorage 用于本地存储一个会话(session)中的数据,这些数据只有在同一个会话中的页面才能访问,会话结束后数据也随之销毁。 localStorage 用
阅读全文
posted @ 2019-06-19 15:24 青春无敌小宇宙
阅读(159)
评论(0)
推荐(0)
2019年6月18日
手机端h5总结
摘要: 1、头部状态栏高度:54px
阅读全文
posted @ 2019-06-18 18:45 青春无敌小宇宙
阅读(258)
评论(0)
推荐(0)
2019年6月11日
vue-cli 3.0
摘要: 安装: npm i @vue/cli -g 搭建项目: vue create vue-test 按需加载element-ui 1、npm i element-ui -S npm install babel-plugin-component -D 2、babel.config.js 文件中设置 mod
阅读全文
posted @ 2019-06-11 14:10 青春无敌小宇宙
阅读(144)
评论(0)
推荐(0)
2019年5月27日
18课 Vue第一节
摘要: Q1: url-loader必须搭载file-loader?Q2: 图片的打包问题,如果直接写在img标签里用src引用图片,该如何打包?Q3: 如何根据不同的页面html模板打包与之对应的css/js文件? 工具——webpack 三大框架:vue 前端react 程序 angular 现代开发模
阅读全文
posted @ 2019-05-27 22:53 青春无敌小宇宙
阅读(112)
评论(0)
推荐(0)
19课 Vue第二节
摘要: 事件修饰符 stop 禁止冒泡once 单次事件prevent 阻止默认事件native 原生事件(组件)keycode|name 筛选按键 组合键 : @keydown.ctrl.enter selfcapture @click="fn()"@click.stop="fn()" computed—
阅读全文
posted @ 2019-05-27 22:25 青春无敌小宇宙
阅读(123)
评论(0)
推荐(0)
2019年5月24日
nginx
摘要: nginx启动和停止 注意不要直接双击nginx.exe,这样会导致修改配置后重启、停止nginx无效,需要手动关闭任务管理器内的所有nginx进程 在nginx.exe目录,打开命令行工具,用命令 启动/关闭/重启nginx start nginx : 启动nginx nginx -s reloa
阅读全文
posted @ 2019-05-24 15:27 青春无敌小宇宙
阅读(132)
评论(0)
推荐(0)
nodejs
摘要: npm ERR! code EINTEGRITY 解决方案 npm cache verifynpm cache clean --force
阅读全文
posted @ 2019-05-24 14:41 青春无敌小宇宙
阅读(90)
评论(0)
推荐(0)
2019年5月14日
vue开发笔记
摘要: vue开发笔记 npm 安装包失败 清除npm缓存 npm cache verify npm cache clean --force vue cli 3.0 安装:npm install -g @vue/cli 创建项目:vue create hello-world 或 vue ui 模块别名: i
阅读全文
posted @ 2019-05-14 16:50 青春无敌小宇宙
阅读(134)
评论(0)
推荐(0)
2017年12月11日
express框架开发笔记
摘要: 1、 安装: npm install -g express npm install -gexpress-generator 生成项目: express -e projectName express项目修改不重启 $ supervisor node bin/www 让supervisor监听模板文件的
阅读全文
posted @ 2017-12-11 11:46 青春无敌小宇宙
阅读(127)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
下一页
公告