first commit
This commit is contained in:
1
Template/config/.pydio
Normal file
1
Template/config/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
aea4f241-7eed-4c98-bf2f-69f0b3d246e7
|
||||
38
Template/config/index.js
Executable file
38
Template/config/index.js
Executable 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: ",
|
||||
// 是否开始自动打开浏览器功能,取值:true,false
|
||||
isOpenBrowser: false
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user