1.0.2 • Published 2 years ago

ui_kitchenadmincenter v1.0.2

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

ui_kitchenadmincenter

智慧食安管理平台

平台地址

  • 正式环境:

项目结构

  • 大屏展示

服务器配置文件

说明:vue-router默认hash模式 ,hash模拟一个完整的 URL,当URL改变时,页面不会重新加载。history模式利用history.pushState API来完成URL跳转而无须重新加载页面。history形成的路由比较工整,但是服务器需要配置以下内容
  location / {
    try_files $uri $uri/ @router;
    index index.html;
  }

  location @router {
     rewrite ^.*$ /index.html last;
  }

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader.