first commit

This commit is contained in:
编码猿
2024-09-27 00:52:52 +08:00
commit d5a61090de
72 changed files with 11656 additions and 0 deletions

1
Template/config/.pydio Normal file
View File

@@ -0,0 +1 @@
aea4f241-7eed-4c98-bf2f-69f0b3d246e7

38
Template/config/index.js Executable file
View File

@@ -0,0 +1,38 @@
/**
* 网站配置信息
*/
module.exports = {
jade: {
// jade -> html 需要监听转换的jade文件路径
jadeTohtml: "./src/view/main/*.jade",
// html 输出的路径
jadeTodist: "./dist/"
},
styl: {
// 将 public/ 公共的 styl 文件直接编译在 dist/ 中生成对应的
stylTocssPublic: "./src/assets/css/public/*.styl",
cssToDist: "",
// 将 page/ 中 styl 编译合并
stylTocssPage: "./src/assets/css/layout.styl",
// styl 转换完成后,需要将多个文件合并成一个的文件名
stylToFileName: "main.css",
// css 输出的路径
stylTodist: "./dist/css/"
},
watch: {
// gulp 需要监听的文件路径当我们在src修改源码时gulp会动态编译输出到dist
watchFile: "src/**/*"
},
nodeService: {
// 访问ip
host: "http://127.0.0.1:",
// 访问端口
port: 1314,
default: "about.html",
// 提示信息
log: "app is run here: ",
// 是否开始自动打开浏览器功能取值truefalse
isOpenBrowser: false
}
};