Skip to content

luqiudi/shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#项目备忘

npm命令

  • 初始化package.json
npm init
安装bundle.js 自动注入插件
html-webpack-plugin -S
-D 安装为开发依赖
-S 安装为
npm i babel-core babel-loader babel-plugin-transform-runtime -D
npm i babel-preset-env babel-preset-stage-0 -D

node命令

git命令

    初始化一个 Git 仓库
    git init  
    设置开发者信息
    git config --global user.name"ZhangZeQiao" 
    git config --global user.email"571129524@qq.com" 
    查看git用户信息
    git config user.name
    git config user.email
    生成sshkey
    ssh-keygen -t rsa -C "你注册github时使用的邮箱"
    验证ssh是否设置成功
    ssh -T git@github.com
    克隆git仓库
    git clone https://github.com/ZhangZeQiao/DemoApp.git
    查看所有设置信息
    git config --list
    获取帮助
    $ git help <verb>
    $ git <verb> --help
    $ man git-<verb>
    增加文件
    git add 文件名
    

已完成进度

事件修饰

<!-- 阻止单击事件继续传播 -->
.stop
.prevent
.capture
.self
.once
.passive

2018年10月19日22:45:11

js、html、css代码热更新
webpack 自动编译
webpack 配置
2018年10月20日18:05:32
安装 css-loader style-loader