-
有没有和vue结合的例子?
我们前端当前是用vue,也用了vue-cli,但不知道怎么和thinkjs结合编译?
有例子指点一下吗?谢谢
-
## DESC
### ENV
OS Platform:
Node.js Version:
ThinkJS Version:
### code
```js
// your code here
```
### error message
```
// your error message here
```
### more descrip…
-
## DESC
再src目录下自定义了ts描述文件(在其他目录下不生效),启动项目会报错
![image](https://user-images.githubusercontent.com/2883079/35547920-03335730-05b7-11e8-874a-f5bfacd0202a.png)
### ENV
OS Platform: macOS 10.13.3
…
cyyjs updated
5 years ago
-
## DESC
think.d.ts中think_model_$base_instance接口中某些方法的返回值需要定义成think_model_base_instance
比如think_model_$base_instance.where()、think_model_$base_instance.field()
## ENV
Platform:
Node.js V…
-
## DESC
今天刚用tj感觉很棒 初始化start以后有一行提示
logic deprecated logic's __after method is deprecated, it will be discarded in the next version at node_modules\koa-compose\index.js:42:32
提示__after方法名在koa-c…
-
对think-model与think-model-postgresql不是很了解,想请教一个场景问题,假设某service中有如下代码:
``` javascript
// 下单
let order = {
order_id: '001',
status: 0
};
let r1 = await this.model('order').add(order);
i…
-
## DESC
### ENV
OS Platform:
Node.js Version:
ThinkJS Version:
### code
![image](https://user-images.githubusercontent.com/30285548/42151463-adacb6d6-7e0f-11e8-8463-151974a51c2d.png)
…
-
## DESC
### ENV
OS Platform:Mac Mojave 10.14.2
Node.js Version:v10.13.0
ThinkJS Version:3.2.10
### code
```js
const aliPay = think.service('pay/alipay')
module.exports = class…
-
## DESC
执行`npm i -g think-cli`时报错`npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)`
### ENV
OS Platform:
macOS10.12.6
Node.js Version:
8.8.…
-
## DESC
### ENV
OS Platform:
window10
Node.js Version:
8.11.3
ThinkJS Version:
3.00
### code
```js
base.js=>
__before
this.header('Access-Control-Allow-Origin', this.head…