You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
李小林 189d56b9d1 feat: 详细清单统计 7 months ago
.husky first commit 10 months ago
.vscode first commit 10 months ago
public first commit 10 months ago
src feat: 详细清单统计 7 months ago
.editorconfig first commit 10 months ago
.env.development first commit 10 months ago
.env.production first commit 10 months ago
.eslintignore first commit 10 months ago
.eslintrc-auto-import.json first commit 10 months ago
.eslintrc.cjs first commit 10 months ago
.gitignore first commit 10 months ago
.prettierignore first commit 10 months ago
.prettierrc.cjs first commit 10 months ago
.stylelintignore first commit 10 months ago
.stylelintrc.cjs first commit 10 months ago
CHANGELOG.md first commit 10 months ago
README.md fix: eslint问题 9 months ago
commitlint.config.cjs first commit 10 months ago
index.html fix: 三级路由无法缓存BUG 9 months ago
package.json first commit 10 months ago
tsconfig.json first commit 10 months ago
uno.config.ts first commit 10 months ago
vite.config.ts first commit 10 months ago

README.md

项目启动


# 安装依赖
pnpm install

# 启动运行
pnpm run dev

项目部署

# 项目打包
pnpm run build:prod

# 上传文件至远程服务器
将打包生成在 `dist` 目录下的文件拷贝至 `/usr/share/nginx/html` 目录

# nginx.cofig 配置
server {
	listen     80;
	server_name  localhost;
	location / {
			root /usr/share/nginx/html;
			index index.html index.htm;
	}
	# 反向代理配置
	location /prod-api/ {
			proxy_pass http://xxx.xxx.xx/; 
	}
}

注意事项

  • 自动导入插件自动生成默认关闭

    模板项目的组件类型声明已自动生成。如果添加和使用新的组件,请按照图示方法开启自动生成。在自动生成完成后,记得将其设置为 false,避免重复执行引发冲突。