Skip to content

fajarbc/learn-vue3-basic

Repository files navigation

vue-crash-2021

Just an example project for learning Basic of Vue3. Demo available here 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.

About

Just an example project for learning Basic of Vue3

Topics

Resources

Stars

Watchers

Forks