-
直接
thinkjs controller XXX的话,就直接创建到common模块里了,每次都要手动移动文件 或者 手动创建controller
-
RT
-
Node.js Version: 8.9.0
ThinkJS Version: 3.2.2
### code
```js
//adapter.js
const socketio = require('think-websocket-socket.io');
exports.websocket = {
type: 'socketio',
common: {
…
-
## DESC
### ENV
OS Platform: windows
Node.js Version: 8.9.1
ThinkJS Version:3.2.6
### more description
开发模式下运行 process.send('think-cluster-reload-workers'); 后报错如下
### error me…
-
## DESC
### ENV
OS Platform: Win10
Node.js Version:8.1.4
ThinkJS Version:3.2.1
### code
```js
module.exports = class extends think.Model {
get relation() {
return {
…
-
## DESC
手机或平板电脑在官网观看文档不方便
所以就弄了一个小程序可以看3.0最新文档,希望可以对大家有帮助
![](http://ww1.sinaimg.cn/large/b0202fcagy1fjiunqtt7ej20d20evq48.jpg)
## ENV
Platform:
Node.js Version:6.0
ThinkJS Version:3.…
-
Environment
system:win 7
node:8.3.0
the error pic :
![error](https://user-images.githubusercontent.com/14024936/29769502-3e8645fe-8c1d-11e7-9c2b-70c055b0ecdb.png)
-
## DESC
用iis反代,this.ctx.host获取不到host
### ENV
ThinkJS Version: 3.2.1
-
## DESC
在thinkjs 2.0中,用的是ES6的import和export语法
但在最新的thinkjs 3.0中,用的是commonJS的require和module.exports
请问是出于什么原因?是为了性能还是什么?求科普
-
I have use thinkjs 3.x to do an api interface system. I have no use `session`, `cookie`, `view` those
function, how can I delete those feature setting?