跳至內容
選單
此問題已被標幟

Hello, for a few days I am trying to enable the autocomplete, for example, of the Owl things on Javascript. Searching on the documentation, I active ESlint using the enable.sh and later use the odoo CLI parameter called tsconfig, I put on the workspace root but only can found the modules that starts with '@', for example the web.rpc can't find it, the owl.Component equal.

const {useState} = owl;
import AbstractFieldOwl from"web.AbstractFieldOwl";
import fieldRegistry from'web.field_registry_owl';
import{ useService }from"@web/core/utils/hooks";
import rpc from"web.rpc";

Of that code, only works the import of userService.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
8月 25
438
0
1月 25
1096
1
11月 24
2092
0
11月 24
2225
0
7月 24
1735