如何在開發的過程中加入測試。
- Model
- Repository
- Controller
- Auth
<!doctype html> | |
<html lang="zh_CN"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Video Js</title> | |
<link href="https://cdn.bootcss.com/video.js/6.2.7/video-js.css" rel="stylesheet"> | |
</head> | |
<body> |
<!DOCTYPE html> | |
<html lang="zh_CN"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Dynamic Forms</title> | |
<link href="https://cdn.bootcss.com/bootstrap/4.0.0-beta/css/bootstrap.css" rel="stylesheet"> | |
</head> | |
<body> |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Vue js 2.0</title> | |
<link href="https://cdn.bootcss.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" rel="stylesheet"> | |
<style type="text/css"> | |
.text-decoration{ | |
text-decoration:line-through; | |
} |
// for loop | |
@for $space from 1 through 12 { | |
.pt-#{$space} { | |
padding-top: 10px * $space; | |
} | |
.pb-#{$space} { | |
padding-bottom: 10px * $space; | |
} | |
$width: percentage(1 / $space); |
<!doctype html> | |
<html lang="zh_CN"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" | |
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>HTML/CSS布局练习</title> | |
<link href="https://cdn.bootcss.com/normalize/7.0.0/normalize.min.css" rel="stylesheet"> | |
<style> |
<!DOCTYPE html> | |
<html lang="zh-CN"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>VueJs组件通讯-自定义事件</title> | |
<link href="https://cdn.bootcss.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" rel="stylesheet"> | |
</head> | |
<body> |
<!DOCTYPE html> | |
<html lang="zh-CN"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>VueJs组件通讯-兄弟组件使用$emit和$on通讯</title> | |
<link href="https://cdn.bootcss.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" rel="stylesheet"> | |
</head> | |
<body> |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Chat Demo</title> | |
</head> | |
<body> | |
<div id="app"> | |
<ul> | |
<li v-for="m in messages" v-text="m"></li> |