An open API service indexing awesome lists of open source software.

https://github.com/xbmlz/uniapp-ts-template

πŸš€A template for uniapp with vue3.x and TypeScript.
https://github.com/xbmlz/uniapp-ts-template

typescript ucharts uniapp unocss uview-ui vite vk-uview-ui vue vue3 vuejs weapp

Last synced: about 2 months ago
JSON representation

πŸš€A template for uniapp with vue3.x and TypeScript.

Awesome Lists containing this project

README

        

# Vue Next Uniapp


vue-next-uniapp

Vue Next Uniapp


πŸš€A template for uniapp with vue3.x and TypeScript.


Live Demo


🚧Work in progress🚧

## Features

- ⚑️ [Vite3](https://cn.vitejs.dev/), [Vue3](https://cn.vuejs.org/), [pnpm](https://pnpm.io/)

- πŸ“¦ Components auto importing

- 🍍 [State Management via Pinia](https://pinia.vuejs.org/)

- 🎨 [UnoCSS](https://github.com/antfu/unocss) - the instant on-demand atomic CSS engine

- πŸ–ΌοΈ [vk-uview-ui](https://vkuviewdoc.fsq.pub/) - a UI library for uniapp based on Vue3.x

- πŸ“Š [ucharts](https://www.ucharts.cn/) - a chart library for uniapp

- πŸ˜ƒ [Use icons from any icon sets with classes](https://github.com/antfu/unocss/tree/main/packages/preset-icons)

- πŸ”₯ Use the [new `` syntax](https://github.com/vuejs/rfcs/pull/227)

- πŸ“₯ [APIs auto importing](https://github.com/antfu/unplugin-auto-import) - use Composition API and others directly

- 🦾 TypeScript, of course

- πŸŽ‰ [ESLint](https://eslint.org/) + [Prettier](https://prettier.io/) + [EditorConfig](https://editorconfig.org/)

## Try it now!

> VEnable requires Node >=14.18

### Clone to local

If you prefer to do it manually with the cleaner git history

```bash
npx degit venable-team/venable-uniapp my-app
cd my-app
pnpm i # If you don't have pnpm installed, run: npm install -g pnpm
```

## Usage

### Development

Just run and visit http://localhost:5173

```bash
pnpm dev:h5
```

### Build

To build the App, run

```bash
pnpm build:h5
```

And you will see the generated file in `dist` that ready to be served.