https://github.com/xpioneer/miniprogram-typescript
A miniprogram with typescript
https://github.com/xpioneer/miniprogram-typescript
miniprogram typescript3
Last synced: 3 months ago
JSON representation
A miniprogram with typescript
- Host: GitHub
- URL: https://github.com/xpioneer/miniprogram-typescript
- Owner: xpioneer
- Created: 2019-07-12T08:43:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T17:59:53.000Z (about 3 years ago)
- Last Synced: 2025-03-11T17:48:46.305Z (10 months ago)
- Topics: miniprogram, typescript3
- Language: TypeScript
- Size: 864 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Miniprogram-Typescript
### 简介
一款基于Typescript语言开发的微信小程序模板,使用gulp基于流构建,样式使用scss模块化开发,主要用来迁移样式,让我们方便快速的开发小程序
### 主要技术
* Typescript
* sass
* gulp
* uglify
### 使用
开发模式:
```sh
git clone git@github.com:xpioneer/miniprogram-typescript.git
cd miniprogram-typescript
yarn
yarn start
```
### 自动生成模块文件
```sh
#使用命令:
yarn gen:page login
#可以生成src/pages/目录下的login文件夹,并且初始化小程序的四个文件
```
### 构建
```sh
yarn build
```