Giter VIP home page Giter VIP logo

wxapp-best-practices's Introduction

wxapp-best-practices

贴合小程序开发的最新能力,探索Web常见组件开发在小程序上的最佳实践

项目开源,持续维护,欢迎反馈PR 和 Star⭐️!

⚡️ 组件列表

🔩 项目结构

├─dist                             // 编译之后的项目文件
├─src                              // 开发目录
│  │  app.ts                       // 小程序入口文件
│  │  app.json
│  │  app.less
│  │
│  ├─assets                     	// 静态资源
│     ├─styles                  	// 公共less
│     ├─images                  	// 图片资源
│  ├─components                   // 组件
│  ├─pages                        // 页面
│
├─template                        // 页面模板
├─typing                          // 官方typing库
├─eslintrc.js                     // eslint配置文件
│
├─gulpfile.js                     // 工具配置
├─package.json                    // 项目配置
├─project.config.json             // 小程序配置文件
├─tsconfig.json                   // typescript配置

📋 使用指南

  1. 克隆项目至本地
git clone https://github.com/Observer-L/wxapp-best-practices.git
npm install

可根据组件文档进行个性化定制,通过本地开发者工具进行效果浏览

  1. 执行打包
npm run build
  1. 拷贝目标组件至您的开发目录,拆包即用

wxapp-best-practices's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

wxapp-best-practices's Issues

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.