https://github.com/view-design/view-ui-project-ts
A template project for Vue3, View UI Plus, TypeScript and Vite, just install and run.
https://github.com/view-design/view-ui-project-ts
Last synced: about 1 year ago
JSON representation
A template project for Vue3, View UI Plus, TypeScript and Vite, just install and run.
- Host: GitHub
- URL: https://github.com/view-design/view-ui-project-ts
- Owner: view-design
- Created: 2022-06-24T09:38:08.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-08T05:55:52.000Z (almost 4 years ago)
- Last Synced: 2025-03-27T20:21:20.062Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 153 KB
- Stars: 17
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# view-ui-project-ts
This project build for Vue3, Vue-router, ViewUIPlus, TypeScript and Vite.
## Install
```shell
npm install
```
## Run
```shell
npm run serve
```
## Build
### Build for Production
```shell
npm run build
```
### Build for Staging
```shell
npm run build:staging
```
## Preview
### Preview for Production
```shell
npm run preview
```
### Preview for Staging
```shell
npm run preview:staging
```
## .env Description
- This project exposes environment variables on `import.meta.env` object.
- Different modes (development/staging/production) correspond to different environment files (.env.*).
- .env file is always included, duplicate variables are overwritten by the specific mode file (.env.*).