Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liyingxuan/ont-dapp-store
Ontology dApp Store : https://dapp.ont.io/
https://github.com/liyingxuan/ont-dapp-store
Last synced: 4 days ago
JSON representation
Ontology dApp Store : https://dapp.ont.io/
- Host: GitHub
- URL: https://github.com/liyingxuan/ont-dapp-store
- Owner: liyingxuan
- Created: 2019-04-16T04:17:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-20T01:59:56.000Z (over 5 years ago)
- Last Synced: 2024-11-09T19:12:58.360Z (2 months ago)
- Language: Vue
- Size: 2.4 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dApp Store
> 原 https://dapp.ont.io/ 项目,后将持续改进成一个支持全平台公链的dApp Store。### 使用vue/cli 3.x
```bash
yarn global add @vue/cli
```##### 配置文件
> Vue-CLI3改变了项目结构,之前的配置文件方式改变了,需要自己新建几个文件新建 .env、 .env.local、vue.config.js 文件
> 在项目中,也就是src中使用环境变量的话,必须以VUE_APP_开头。例:
直接输出:console.log(process.env.VUE_APP_SECRET)### 项目开发
安装package、运行项目、代码格式校验:
```
yarn
yarn dev
yarn fix
```[VueJS & WebStorm 使用eslint格式化代码](https://www.jianshu.com/p/687b6e96458a)
快捷键:Command + Option + Shift + p### 项目部署
安装package、打包编译:
```
yarn
yarn build
```
> 复制dist目录下所有文件到apache/nginx指定根目录下即可完成部署。