mm_tpl 2.5.3 → 2.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -33,7 +33,7 @@ class Tpl extends Base {
33
33
  /**
34
34
  * 默认模板目录
35
35
  */
36
- default_dir: "./template/",
36
+ default_dir: "./static/template/",
37
37
  /**
38
38
  * 默认主题
39
39
  */
@@ -79,7 +79,7 @@ class Tpl extends Base {
79
79
  /**
80
80
  * 模板根目录
81
81
  */
82
- this.dir = './template/';
82
+ this.dir = './static/template/';
83
83
 
84
84
  /**
85
85
  * 当前主题
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_tpl",
3
- "version": "2.5.3",
3
+ "version": "2.5.4",
4
4
  "description": "Super Meimei Template Engine - High-performance template engine based on art-template with MVC pattern, hook system, theme switching and caching mechanism",
5
5
  "main": "index.js",
6
6
  "scripts": {