Giter VIP home page Giter VIP logo

uniapp-template's Introduction

uniapp-demo

安装依赖包

yarn install

启动开发环境:H5

yarn dev:h5

启动开发环境:微信小程序(watch 模式,热更新)使用微信开发者工具导入项目,路径为:/dist/dev/mp-weixin

yarn dev:mp-weixin

测试环境打包:H5

yarn build:test:h5

测试环境打包:微信小程序

yarn build:test:mp-weixin

生产环境打包:H5

yarn build:prod:h5

生产环境打包:微信小程序

yarn build:prod:mp-weixin

注意事项:

  1. vue 文件波浪线报错,提示要用 ts 的话,禁用 vloar,启用 vetur。
  2. 接口调用:this.$api.xxx.xxxx
  3. 消息提示:this.$message.success/error(msg)
  4. vuex:this.$store
  5. 具体开发规范,参考uniapp官网文档 https://uniapp.dcloud.io/frame

uniapp-template's People

Contributors

lilchen96 avatar

Watchers

 avatar  avatar

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.