Skip to content

learnFork/face2

Repository files navigation

tsvue-demo

Vue2.x+ + Vuex + Typescript 示例

Build Setup

# install dependencies
npm install

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

# 联调服务 -> sales-mxj.com:8080
npm run test
> 修改本地 hosts 为与 *sales* 有任意匹配的,后端会通过该字段匹配权限,切记[hosts 需要和 config/index.js 中的 test 配置一样]

# build for production with minification
npm run build

关于 vscode 格式化文件

prettier 升级之后 singleQuote, semi 会坑

{
    "editor.tabSize": 2,
    "eslint.validate": [
        "javascript",
        "javascriptreact",
        "typescript",
        "typescriptreact"
    ],
    "prettier.singleQuote": true,
    "prettier.semi": false
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published