From 36d28679e8bfc12c0521a5234aa68cd0684598dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Mon, 28 Sep 2020 10:38:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=BB=98=E8=AE=A4=E5=BC=80?= =?UTF-8?q?=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 2 +- index.js | 1 + package.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) 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 ",