Coder Social home page Coder Social logo

mds's Introduction

factory

Project setup

yarn install 或 npm install

Compiles and hot-reloads for development

根目录下建立 .env.local 文件,存放全局变量和接口 host ,内容如下, xxxx 为本机开发起的 port 号

# just a flag
NODE_ENV = 'local'
VUE_APP_API_V = '/v1'

# base api
VUE_APP_HOST = 'http://localhost:xxxx/'
VUE_APP_BASE_API = 'https://apimarket-dev.shinho.net.cn/df-bff'
VUE_APP_MDS_API = 'https://apimarket-dev.shinho.net.cn/xhqy-fc'

yarn serve 或 npm run serve

Compiles and minifies for production

yarn build:prod 或 npm run build:prod

Compiles and minifies for test

yarn build:test 或 npm run build:prod

Compiles and minifies for dev

yarn build:dev 或 npm run build:dev

Compiles and minifies for pre

yarn build:pre 或 npm run build:pre

MDS

api.js const HOST = process.env.VUE_APP_MDS_API
router/index.js const _import = process.env.NODE_ENV !== 'local' ? require('./import-production') : require('./import-development')

mds's People

Contributors

imuma3 avatar telliex avatar kingyinliang avatar hans8080 avatar testpersonal avatar

Watchers

James Cloos avatar  avatar

Forkers

swantbo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.