Skip to content

影院管理系统——人机交互课设重构版

Notifications You must be signed in to change notification settings

Rollingegg/CinemaPlusVue

Repository files navigation

CinemaPlusVue

影院管理系统——人机交互课设重构版

Project setup

npm install

Compiles and hot-reloads for development

调用本地后端接口(可以在.env.local文件中修改相关变量)

npm run dev:local

调用远程后端接口(可以在.env.development文件中修改相关变量)

npm run dev:remote

Compiles and minifies for production

yarn build

配置保存文件时的自动修复

VScode

下载Eslint插件,在setting.json中配置如下

"eslint.validate": [
    "javascript",
    "javascriptreact",
    "vue",
    "html"
], // 配置 ESLint 检查的文件类型
"editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
}, // 保存时按照eslint的规则格式化
"editor.formatOnSave": true, // 保存时自动格式化代码。可以实现保存时自动格式化style代码

WebStorm

File | Settings | Languages & Frameworks | JavaScript | Code Quality Tools | ESLint中勾选Run Eslint --fix on save

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

About

影院管理系统——人机交互课设重构版

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published