server { charset utf-; client_max_body_size 128M; # Add index.php to the list if you are using PHP index index.html index.htm index.php; server_name *.tl.com; set $old_port ; set $new_port ; if ($host = tl.com) { rewrite ^ www.tl.com permanent; } loc
vsCode为一个前端项目配置ts的运行环境,ts文件保存的时候自动编译成js文件: 假设此前端项目名称为Web:文件结构如图 1. 在根目录中新建一个“.vscode”文件夹,里面建一个“tasks.json”文件,内容为: { // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "0.1.0