8000 T1.1: WeChat Mini Program Project Initialization · Issue #2 · yjyang1990/zitie_mini · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

T1.1: WeChat Mini Program Project Initialization #2

Open

Description

@yjyang1990

Sprint 1: Project Setup & Core Infrastructure (Week 1-2)

Epic Task: T1.1 - WeChat Mini Program project initialization

📋 Task Description

Create and configure the foundational WeChat Mini Program project structure with TypeScript support and modern development tooling.

🎯 Goals

  • Establish development foundation for the Chinese Calligraphy Worksheet Generator
  • Set up TypeScript configuration for type safety and better development experience
  • Configure build tools and development environment
  • Integrate TDesign Mini Program component library

📝 Detailed Requirements

Project Structure Setup

  • Initialize WeChat Mini Program project with official CLI tools
  • Configure TypeScript compilation and type definitions
  • Set up proper folder structure:
    • /pages/ - Page components (6 main pages)
    • /components/ - Reusable UI components
    • /utils/ - Utility functions and helpers
    • /types/ - TypeScript type definitions
    • /assets/ - Static assets (fonts, images)
    • /styles/ - Global styles and themes

Development Environment

  • Configure project.config.json with proper settings
  • Set up tsconfig.json for TypeScript compilation
  • Configure ESLint and Prettier for code quality
  • Set up development scripts and build process
  • Configure WeChat Developer Tools integration

TDesign Integration

  • Install TDesign Mini Program npm package
  • Configure TDesign component imports
  • Set up custom theme based on PRD color system:
    • Primary: #5B8DEE (WeChat blue theme)
    • Accent: #48D6A0 (Success green)
    • Background: #F5F5F5 (Light gray)
    • Text: #333333 (Dark gray)
  • Create base component wrapper for TDesign integration
  • Test basic TDesign components functionality

✅ Definition of Done

  • Project builds successfully without errors or warnings
  • TypeScript compilation working with proper type checking
  • TDesign components imported and functional in test page
  • WeChat Developer Tools can preview the project
  • All linting and formatting rules pass
  • Basic app.json configured with initial page routing
  • Development environment documented in README

🔗 Dependencies

  • WeChat Developer Account approval
  • TDesign Mini Program library access
  • Development environment setup (Node.js, npm)

📊 Acceptance Criteria

  1. Functional: App can be built and previewed in WeChat Developer Tools
  2. Technical: TypeScript compilation passes with no errors
  3. UI: At least 3 TDesign components working correctly
  4. Documentation: Setup instructions available for new developers
  5. Quality: Code passes all ESLint rules with 0 warnings

🧪 Testing Requirements

  • Build process completes successfully
  • App launches in WeChat simulator
  • TDesign components render properly
  • TypeScript types resolve correctly
  • Hot reload works during development

📁 Deliverables

  • Complete WeChat Mini Program project structure
  • Configured build tools and development environment
  • TDesign integration with custom theming
  • Development documentation and setup guide
  • Working TypeScript configuration

Related to Epic: #1 - Chinese Calligraphy Worksheet Generator WeChat Mini Program
Sprint: 1 (Week 1-2)
Story Points: 5
Assignee: Frontend Developer

Activity

  1. self-assigned this
    on Sep 13, 2025
  2. added
    wechat-miniprogram
    tdesign
    frontend
    on Sep 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

frontendtdesignwechat-miniprogram

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0