diff --git a/config/index.js b/config/index.js index 4c7577e..d5fb134 100644 --- a/config/index.js +++ b/config/index.js @@ -41,7 +41,7 @@ export default { passwd: '' }, views: { - enabled: true, + enabled: false, dir: '', ext: '.htm' }, diff --git a/index.js b/index.js index 5a20d93..30bcaca 100644 --- a/index.js +++ b/index.js @@ -124,6 +124,7 @@ export default class Five { } this.__MODULES__[name] = import(item).catch(err => { + console.error(err) return { default: null } }) }) diff --git a/package.json b/package.json index ebc0794..08df735 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gm5/core", - "version": "1.0.0", + "version": "1.0.1", "type": "module", "description": "Five.js, 一个轻量级的nodejs mvc框架 旨在简单易用, 5分钟即可上手", "author": "yutent ",