init
commit
8e09ca3493
|
@ -0,0 +1,12 @@
|
|||
|
||||
.Spotlight-V100
|
||||
.Trashes
|
||||
.DS_Store
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
._*
|
||||
.idea
|
||||
.vscode
|
||||
|
||||
|
||||
node_modules/
|
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2018
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
|
@ -0,0 +1,23 @@
|
|||
![module info](https://nodei.co/npm/@gm5/views.png?downloads=true&downloadRank=true&stars=true)
|
||||
|
||||
# @gm5/views
|
||||
|
||||
> @gm5框架的模板引擎拓展包.
|
||||
|
||||
## 安装
|
||||
|
||||
```bash
|
||||
npm install @gm5/views
|
||||
```
|
||||
|
||||
|
||||
## 使用
|
||||
|
||||
```js
|
||||
import Views from '@gm5/views'
|
||||
|
||||
app.install(Views)
|
||||
|
||||
```
|
||||
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* 模板引擎拓展包
|
||||
* @author yutent<yutent.io@gmail.com>
|
||||
* @date 2020/09/27 14:17:46
|
||||
*/
|
||||
|
||||
import Smarty from 'smartyx'
|
||||
|
||||
export default {
|
||||
name: 'views',
|
||||
install() {
|
||||
//
|
||||
}
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"name": "@gm5/views",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
"es.shim": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/es.shim/-/es.shim-2.0.1.tgz",
|
||||
"integrity": "sha512-Ru8Xzwyp47D23AKjI7AbZE+4XS/08y21mE+bj9W79HaqO9ysWt2/vkzDB8XkNRPQAwsCiQqzXwxvLjZzseYLww=="
|
||||
},
|
||||
"iofs": {
|
||||
"version": "1.5.0",
|
||||
"resolved": "https://registry.npmjs.org/iofs/-/iofs-1.5.0.tgz",
|
||||
"integrity": "sha512-ZOb9v/2vv9q12cgOehXBVXshw/u6U0WfEIjHWBLyP0RbQb8L9EH3338K9tv0NXWN2++MEhU1wSyNZVe+sBRo9w=="
|
||||
},
|
||||
"smartyx": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/smartyx/-/smartyx-2.0.1.tgz",
|
||||
"integrity": "sha512-SmX72EDI8UsstOx3ktjjHg+zaJRhWylz2i23zswwj/QS+HJCYqFL7pVo4ld7fZYYPjVkG1LbAwN19nFcZyHDhQ==",
|
||||
"requires": {
|
||||
"es.shim": "^2.0.0",
|
||||
"iofs": "^1.4.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "@gm5/views",
|
||||
"version": "1.0.0",
|
||||
"description": "@gm5框架的模板引擎拓展包",
|
||||
"type": "module",
|
||||
"main": "index.js",
|
||||
"author": "yutent <yutent.io@gmail.com>",
|
||||
"repository": "https://github.com/bytedo/gmf.views.git",
|
||||
"keywords": ["fivejs", "views", "smarty"],
|
||||
"dependencies": {
|
||||
"smartyx": "^2.1.0"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
Loading…
Reference in New Issue