GithubHelp home page GithubHelp logo

dvabytaro3's Introduction

taro-starter

  • 这是一份基于 3.x 的 Taro 模版, 如果有需要可以点击Use this Template进行使用。
  • Taro 官方文档

如何使用

  1. 安装基础依赖
yarn 
# or npm install
  1. 运行项目
npm run dev:weapp
  1. 使用微信开发工具导入dist目录

项目说明

基础架构
  • DvaJS
  • Taro
  • Taro UI
  • Less
目录结构
.
├── README.md
├── babel.config.js
├── config                 # 配置
│    ├── index.js          # 通用环境
│    ├── dev.js            # 开发环境
│    └── prod.js           # 生产环境
├── dist                   # 编译文件生存目录
├── docs                   # 文档
├── jsconfig.json          
├── mock                   # mock 数据
├── package.json           
├── project.config.json    # 项目配置
├── scripts                
├── src                    
│    ├── assets            # 图片
│    ├── components        # 组件
│    │     ├── common      # 通用
│    │     └── ..
│    ├── layouts           # ..
│    ├── models            # dva model
│    │     ├── apps.js     # .. 
│    │     ├── index.js    # Model 加载入口
│    ├── pages             # 页面
│    │     ├── common      # 通用
│    │     └── ..
│    ├── services          # 接口
│    ├── utils             # 通用工具函数
│    │     ├── request.js  # [Basic] 请求封装
│    │     ├── dva.js      # [Basic] Dva 封装
│    │     ├── events.js   # Taro 事件
│    │     ├── global.js   # 全局变量
│    │     ├── pages.js    # 页面跳转管理
│    │     ├── storage.js  # 本地存储
│    │     └── utils.js    # 通用
│    ├── app.config.js     # 应用配置
│    ├── app.js            # 应用入口
│    ├── app.less          # 全局样式
│    ├── config.js         # 项目配置变量
│    ├── index.html        # html 模版文件
│    ├── mixin.less        # 通用样式
│    ├── theme.global.scss # 自定义样式主题
│    └── theme.less        # 全局样式主题
└── webpack.config.js

演示

使用小程序

图片名称

部分截图

图片名称

联系作者

图片名称

dvabytaro3's People

Contributors

1152730631 avatar

Watchers

James Cloos 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.