Git Product home page Git Product logo

on-test's Introduction

On WeChat Mini Program Demo Project

Welcome to the GitHub repository of the WeChat Mini Program demo project! This project is developed using the native TypeScript approach, aiming to showcase some basic features of WeChat Mini Program along with performance optimization techniques. The main functionalities include the PDP (Product Detail Page) and a rich text editor.

Key Features

  • PDP Page: Displays the product detail page, including product name, price, description, and other information.
  • Rich Text Editor: Provides users with the ability to edit rich text, supporting formatting text, inserting images, and more.

Technical Highlights

This project adopts several performance optimization measures to enhance the loading speed and user experience of the Mini Program:

  • Mini Program Sub-packages: Divide pages and components into sub-packages according to functional modules, reducing the main package size and speeding up the Mini Program startup.
  • Using CDN Resources: Store some common libraries, style files, and other resources on CDN to accelerate resource loading.
  • Skeleton Screens: Use skeleton screen technology during page loading to provide a preview of the loading process, reducing user waiting time.
  • Lazy-load Images: Employ lazy-load technology for images on the page, delaying image loading to optimize page loading speed and smoothness.
  • Different Resolution Images: Utilize images of different resolutions to reduce unnecessary loading and improve user experience.

Getting Started

1. Clone the Repository

git clone https://github.com/XERO75/On-test.git

2. set up the mock data

import mock/mock.config.json to WeChat Mini Program developer tools, this will proxy the API requests to the mock server.

3. Run the Project

Open the project using the WeChat Mini Program developer tools and preview or debug.

on-test's People

Contributors

xero75 avatar

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.