File tree 2 files changed +14
-15
lines changed
2 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 4
4
"allowJs" : false ,
5
5
"allowUnreachableCode" : false ,
6
6
"allowUnusedLabels" : false ,
7
- "charset" : " utf8" ,
7
+ "baseUrl" : " ." ,
8
+ "paths" : {
9
+ "@/*" : [" functions/*" ]
10
+ },
8
11
"declaration" : true ,
9
12
"experimentalDecorators" : true ,
10
13
"emitDecoratorMetadata" : true ,
25
28
"skipLibCheck" : true ,
26
29
"target" : " es2017" ,
27
30
"alwaysStrict" : true ,
28
- "lib" : [
29
- " es2015" ,
30
- " es6"
31
- ],
31
+ "lib" : [" es2015" , " es6" ]
32
32
},
33
- "include" : [
34
- " functions/**/*" ,
35
- " types/**/*" ,
36
- ],
37
- "exclude" : [
38
- " tests" ,
39
- ],
40
- }
33
+ "include" : [" functions/**/*" , " types/**/*" ],
34
+ "exclude" : [" tests" ]
35
+ }
Original file line number Diff line number Diff line change @@ -10,14 +10,18 @@ title: laf assistant
10
10
11
11
## 应用安装
12
12
13
- ` vs Code ` 应用中直接搜索 ` laf assistant ` 或点击链接[ 在线安装] ( https://marketplace.visualstudio.com/items?itemName=NightWhite.laf-assistant )
13
+ ` VSCode ` 应用中直接搜索 ` laf assistant ` 或点击链接[ 在线安装] ( https://marketplace.visualstudio.com/items?itemName=NightWhite.laf-assistant )
14
14
15
15
::: tip
16
16
使用` laf assistant ` 需 node 版本大于等于 16
17
17
18
18
node version >= 16
19
19
:::
20
20
21
+ ## VSCode 设置修改
22
+
23
+ 设置中搜索` typescript.preferences.importModuleSpecifier ` ,改成` non-relative `
24
+
21
25
## 初始化
22
26
23
27
在对接到 Laf 云开发的前端项目中新建目录 ` laf-cloud `
@@ -58,7 +62,7 @@ node version >= 16
58
62
59
63
## 操作单个云函数
60
64
61
- 打开` laf-cloud/functions ` ,任意打开一个云函数,在编辑框右键即可 ` 发布/下载/运行 ` 当前云函数。可在 ` vs Code ` 设置里自定义快捷键,操作更加方便。
65
+ 打开` laf-cloud/functions ` ,任意打开一个云函数,在编辑框右键即可 ` 发布/下载/运行 ` 当前云函数。可在 ` VSCode ` 设置里自定义快捷键,操作更加方便。
62
66
63
67
## 其他功能
64
68
You can’t perform that action at this time.
0 commit comments