2017年8月25日
摘要: 1.fs+path练习01.判断 当前路径下的public是否存在,不存在则创建02.判断 public下的index.html文件是否存在,不存在则创建 <h1>index</h1>03.创建成功,取出来数据,添加到当前路径下的static文件夹下的index.html里 2.合并js文件 01. 阅读全文
posted @ 2017-08-25 11:14 喵plus 阅读(144) 评论(0) 推荐(0)
摘要: 模块的使用,必须先引入模块 1. readFile 和 readFileSync 2.writeFile 和 readFileSync 将指定内容写入文件,如果该文件不存在,则自动创建文件, appendFile也具有自动创建的功能; 3. appendFile 和 appendFileSync 4 阅读全文
posted @ 2017-08-25 11:09 喵plus 阅读(153) 评论(0) 推荐(0)
  2017年8月24日
摘要: 1. renameSync 01. 重命名 02. 移动文件夹,相当于剪切作用 2. watch 3. watchFile 4. unwatchFile 配合watchFile使用 阅读全文
posted @ 2017-08-24 20:07 喵plus 阅读(117) 评论(0) 推荐(0)
  2017年7月21日
摘要: 了解css三种写入样式的方法 1. 内联: 写在style标签内 2. 外联: 使用link标签导入 3. 内嵌:直接写在标签内(也称为:行间样式) 非行间样式的获取 错误方法(这个是获取不到的!!!) 正确方法(兼容IE) 阅读全文
posted @ 2017-07-21 00:22 喵plus 阅读(128) 评论(0) 推荐(0)
  2017年7月16日
摘要: 1. animation; <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <style> #box { width: 600px; height: 30px; background-color: #ccc; } #mov 阅读全文
posted @ 2017-07-16 22:17 喵plus 阅读(292) 评论(0) 推荐(0)
  2017年7月10日
摘要: sass依赖于ruby环境 1. 安装ruby step A: 进入链接,下载ruby http://www.ruby-lang.org/zh_cn/ 安装完成之后,确认是否安装成功 step B:win + r 打开 cmd 控制台 step C: 控制台内输入命令行 ruby -v 回车 ste 阅读全文
posted @ 2017-07-10 18:46 喵plus 阅读(233) 评论(0) 推荐(0)
  2017年7月5日
摘要: 1. 进入下载链接,安装node.js (根据自己使用版本) https://nodejs.org/en/download/ 注意: 记住node.js的 安装路径 2.sublime HTML/CSS/JS pretty插件安装 sublime中 按键:shift + ctrl + p 输入ins 阅读全文
posted @ 2017-07-05 11:15 喵plus 阅读(272) 评论(0) 推荐(1)