GithubHelp home page GithubHelp logo

rp-mini-program-cli's Introduction

rp-mini-program-cli

如易行uniapp+vue3+vite脚手架

技术方案

采用uni-app框架,主页使用原生小程序展示,其他界面使用h5形式展示,便于更新。

开发调试

  1. npm start || npm run dev:h5
  2. npm run dev:mp-weixin
  3. 使用微信开发者工具,导入项目dist/dev/mp-weixin 即可开始开发

打包部署

开发环境部署:

  1. h5开发环境 npm run build:dev-h5
  2. 微信小程序开发环境 npm run build:dev-mp-weixin
  3. 支付宝小程序开发环境 build:dev-mp-alipay

测试环境部署:

  1. h5测试环境 npm run build:test-h5.
    上传dist/build/h5内容到 对应的静态资源路径
  2. 微信小程序测试环境 npm run build:test-mp-weixin
    使用微信开发者工具,导入项目dist/build/mp-weixin ,点击 工具内"上传"按钮

生产环境部署:

  1. h5测试环境 npm run build:release-h5.
    上传dist/build/h5内容到 https://static.ruubypay.com/xxx 对应的静态资源路径,刷新https://static.ruubypay.com/xxx/index.html cdn缓存
  2. 微信小程序测试环境 npm run build:test-mp-weixin
    使用微信开发者工具,导入项目dist/build/mp-weixin ,点击 工具内"上传"按钮

rp-mini-program-cli's People

Watchers

 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.