From ecb286ffbfbeb499c14d85b91a259bad37447c2f Mon Sep 17 00:00:00 2001 From: lichengyin Date: Mon, 19 Oct 2015 09:39:35 +0800 Subject: [PATCH] set root_path for view config on not es6 mode when create project --- template/config/view.js | 1 + 1 file changed, 1 insertion(+) diff --git a/template/config/view.js b/template/config/view.js index 2d26b524..5435b627 100644 --- a/template/config/view.js +++ b/template/config/view.js @@ -7,6 +7,7 @@ module.exports = { content_type: 'text/html', file_ext: '.html', file_depr: '_', + root_path: think.ROOT_PATH + '/view', type: 'ejs', options: {} }; \ No newline at end of file