数据看板H5页面----水母星球客户数据管理系统

chaooo aeda933884 feat: :feat: 分页后去详情页返回记住页码 il y a 1 an
.husky c1405f1b13 build: project init il y a 2 ans
public c1405f1b13 build: project init il y a 2 ans
src aeda933884 feat: :feat: 分页后去详情页返回记住页码 il y a 1 an
.editorconfig 298c3ee6d9 style: 代码格式优化:zap: il y a 2 ans
.env.development aeda933884 feat: :feat: 分页后去详情页返回记住页码 il y a 1 an
.env.production d3831df46a fix: :bug: 设备管理显示顺序 il y a 2 ans
.env.staging 5d32d72dd5 chore: :hammer: 线上环境参数配置 il y a 2 ans
.eslintignore a26a142a96 build: 区域级数据看板图表调试 il y a 2 ans
.eslintrc-auto-import.json c1405f1b13 build: project init il y a 2 ans
.eslintrc.cjs 298c3ee6d9 style: 代码格式优化:zap: il y a 2 ans
.gitignore a2116044f7 build: gitignore il y a 2 ans
.prettierignore c1405f1b13 build: project init il y a 2 ans
.prettierrc.cjs f3c0374b04 build: :zap: 代码优化 il y a 2 ans
.stylelintignore c1405f1b13 build: project init il y a 2 ans
.stylelintrc.cjs aeda933884 feat: :feat: 分页后去详情页返回记住页码 il y a 1 an
README.md 5d32d72dd5 chore: :hammer: 线上环境参数配置 il y a 2 ans
commitlint.config.cjs c2d8b6658c build: :hammer: 代码格式化 il y a 2 ans
index.html 298c3ee6d9 style: 代码格式优化:zap: il y a 2 ans
package.json aeda933884 feat: :feat: 分页后去详情页返回记住页码 il y a 1 an
tsconfig.json 3d8dcaf8f7 fix: :zap: 修复浏览器兼容性问题 il y a 2 ans
tsconfig.node.json c1405f1b13 build: project init il y a 2 ans
vite.config.ts c2d8b6658c build: :hammer: 代码格式化 il y a 2 ans

README.md

水母星球-数据看板系统-H5

数据看板H5页面----水母星球客户数据管理系统

仓库地址:http://192.168.2.106/app/shuimu-dashboard-h5.git

npm scripts:

{
  "scripts": {
    "dev": "vite serve --mode development",
    "build:beta": "vite build --mode staging &&vue-tsc --noEmit",
    "build:prod": "vite build --mode production &&vue-tsc --noEmit",
    "preview": "vite preview"
  }
}

本地启动

npm install
npm run dev

构建应用

npm run build:beta

默认情况下,构建会输出到 dist 文件夹中。你可以部署这个 dist 文件夹到任何你喜欢的平台。

本地测试应用

当你构建完成应用后,你可以通过运行 npm run preview 命令,在本地测试该应用。

npm run build:beta
npm run preview

vite preview 命令会在本地启动一个静态 Web 服务器,将 dist 文件夹运行在 http://localhost:4173。

如遇到端口冲突,可以通过 --port 参数来配置服务的运行端口。

{
    "scripts": {
        "preview": "vite preview --port 8080"
    }
}

现在 preview 命令会将服务器运行在 http://localhost:8080。

部署应用

通过 npm run build:prod 命令构建正式环境应用输出到 dist 文件夹中。

npm run build:prod