Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cklwblove/uni-app-demo
uni app demo
https://github.com/cklwblove/uni-app-demo
Last synced: about 4 hours ago
JSON representation
uni app demo
- Host: GitHub
- URL: https://github.com/cklwblove/uni-app-demo
- Owner: cklwblove
- License: mit
- Created: 2023-02-28T15:23:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-02-28T15:26:42.000Z (over 1 year ago)
- Last Synced: 2024-04-13T19:23:23.577Z (7 months ago)
- Language: JavaScript
- Size: 350 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# uniapp-template
## Project setup
```
yarn install
```### Compiles and hot-reloads for development
```
yarn serve
```### Compiles and minifies for production
```
yarn build
```### 注意
static 与 assets 都是放置静态资源的,具体区别如下:
- static 目录下的文件是不编译的,所以可以使用 **绝对路径**,如 `/static/img/logo.png`。最终生成的文件是原样输出的。
- assets 目录下的文件是经过 `webpack` 编译的,所以最终生成的文件会带有 hash 值。