# varlet-app-template
**Repository Path**: william0598/varlet-app-template
## Basic Information
- **Project Name**: varlet-app-template
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 1
- **Created**: 2023-10-24
- **Last Updated**: 2023-12-21
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# varlet-app-template
English |
δΈζ
### Intro
varlet-app-template is an out-of-the-box lightweight mobile web template, developed based on `Vue3`, `Varlet`, `Vite`, `Typescript`.
### License
This project is based on the `MIT` license
### Features
- β‘οΈ Developed based on `Vue3`, `Varlet`, `Vite`, `Typescript`
- π¦ Automatic and on-demand import of built-in component libraries and third-party libraries
- π Built-in stack routing navigation similar to native apps
- π Built-in conventional routing based on file directory structure
- π Built-in application-level internationalization
- π¦ Built-in request library integrated, support composition api
- π¦ Built-in theme customization
- π¦ Built-in mobile debugging tool
- π¦ Built-in `pinia` for state management
- π¦ Built-in `mockjs` for data mocking
- π¦ Built-in `vitest` for unit testing
- π¦ Built-in `unocss` integration
- π¦ Built-in `eslint`, `commitlint`, `lint-staged`, `prettier` and other code checking/formatting tools
- πͺ Officially maintained by `varletjs`, the first party provides support for `varlet`
### Page Preview Address
https://varletjs.github.io/varlet-app-template
### Install And Use
#### Get Project
[Create a repository from this template repository](https://github.com/varletjs/varlet-app-template/generate)
or
```shell
git clone https://github.com/varletjs/varlet-app-template.git
```
#### Install Dependencies
```shell
pnpm install
```
#### Start the development environment
```shell
pnpm dev
```
#### Build
```shell
pnpm build
```
#### Preview
```shell
pnpm preview
```
#### Lint Code
```shell
pnpm lint
```
#### TS type checking
```shell
pnpm type-check
```
#### Code Formatting
```shell
pnpm format
```
#### Running unit tests
```shell
pnpm test
```
#### Run unit tests and generate test reports
```shell
pnpm test:coverage
```
### Community
We recommend that [issue](https://github.com/varletjs/varlet/issues) be used for problem feedback, or others:
* Wechat group
* Join the [Discord](https://discord.gg/Dmb8ydBHkw)
### Thanks to contributors
### Thanks to the following sponsors
### Sponsor this project
Sponsor this project to support our better creation. It is recommended to use afdian to subscribe, and your avatar will appear in this project.
#### Afdian
https://afdian.net/a/haoziqaq
#### Wechat / Alipay
