提交 087e7cbe 编写于 作者: 邱上哲's avatar 邱上哲

提交代码

上级 a164358a
......@@ -8,8 +8,8 @@ const autoprefixer = require ( 'gulp-autoprefixer' );
const replace = require('gulp-string-replace');
function browser() {
css()
watch('src/style/*.less', parallel(css,reload))
watch('src/js/*.js', parallel(js,reload))
watch('src/style/**/*.less', parallel(css,reload))
watch('src/js/**/*.js', parallel(js,reload))
watch('src/**/*.pug',parallel(html,reload))
browserSync.init({server: { baseDir: "./build/" , host: '0.0.0.0' }});
}
......
<!DOCTYPE html>
html(lang="en")
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 关于我们
body
\ No newline at end of file
......@@ -10,4 +10,5 @@ html(lang="")
link(rel="stylesheet", href="./css/main.css")
script(src="https://cdn.bootcss.com/jquery/3.4.0/jquery.min.js")
body
include template/test.pug
script(src="./js/app.min.js")
\ No newline at end of file
@import 'pageStyle/test.less';
.test-content {
display:flex;
height: 100vh;
h1 {
margin:auto;
color:red;
}
}
.test-content
h1 创建成功
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册