Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/fajarbc/learn-vue3-basic

Just an example project for learning Basic of Vue3
https://github.com/fajarbc/learn-vue3-basic

cicd vue vue3 vuejs

Last synced: about 1 month ago
JSON representation

Just an example project for learning Basic of Vue3

Awesome Lists containing this project

README

        

# vue-crash-2021
Just an example project for learning Basic of Vue3.
Demo available here [https://github.fajarbc.com/learn-vue3-basic/](https://github.fajarbc.com/learn-vue3-basic/)

## Project setup
1. Install dependency
```
npm install
```
2. Copy `.env` to `.env.local`
```
cp .env .env.local
```
3. Copy `db-example.json` to `db.json`
```
cp db-example.json db.json
```
4. (optional) Copy `json-server-routes-example.json` to `json-server-routes.json`. I need this for the backend server
```
cp json-server-routes-example.json json-server-routes.json
```

## Run
1. Backend
```
npm run backend
```

2. Frontend
### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```
3. Backend (Heroku)
```
npm start
```

## Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).