@lark-apaas/coding-template-html-standard-webapp 0.1.0 → 0.1.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/coding-template-html-standard-webapp",
3
- "version": "0.1.0",
3
+ "version": "0.1.1-beta.0",
4
4
  "description": "Buildless HTML template for miaoda local development (no build step, no platform SDK)",
5
5
  "type": "module",
6
6
  "files": [
@@ -6,7 +6,7 @@
6
6
 
7
7
  ## 开发
8
8
 
9
- - 启动本地静态服务:`npx -y serve -l 5173 -n .`(即 `spark.json` 里 `dev.command` 声明的命令),编辑文件后刷新页面即可
9
+ - 启动本地静态服务:`npx -y serve -l 5173 -n --cors .`(即 `spark.json` 里 `dev.command` 声明的命令),编辑文件后刷新页面即可
10
10
  - 无 package.json、无 node_modules、无依赖安装步骤——`spark.json` 即项目的全部声明
11
11
 
12
12
  ## 目录与路由
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "stack": "html-standard-webapp",
3
3
  "dev": {
4
- "command": ["npx", "-y", "serve", "-l", "5173", "-n", "."],
4
+ "command": ["npx", "-y", "serve", "-l", "5173", "-n", "--cors", "."],
5
5
  "port": 5173
6
6
  },
7
7
  "build": {