Giter VIP home page Giter VIP logo

vue_common_boilerplate's Introduction

vue project common boilerplate (ver 0.1)

● Set up

  1. GIT Clone
$ mkdir {project name}
$ git clone https://github.com/gmlee329/vue_common_boilerplate.git {project name}
  1. install packages
$ cd {project name}
$ npm install
  1. run local server
$ npm run serve

● Environment

  • vue 2
  • vue-cli 3

● Structure

image

  • assets : fonts, icons, images, styles 등 자산파일(assets files)
  • components : vue components 개발
  • config : 설정 파일 관리
  • constants : 상수 관리
  • directives : vue custom directive 등록
  • layouts : 화면별 layout 개발
  • plugins : vuetify 등 내,외부 플러그인 등록
  • router : vue router 등록
  • services : axios 등 외부 연동 서비스 관리
  • store : vuex store 데이터 관리
  • utils : 유틸 function 등록
  • views : vue router로 진입되는 화면 등록
  • tests : test 코드 관리
  • package.json : node package 관리
  • vue.config.js : vue 전역 설정 관리

● Application architecture

  1. 중간 규모의 vue 애플리케이션에 적합한 기본 구조로 구성
  2. 애플리케이션 규모, 도메인 특성에 맞춰 구조 변경 필요
  3. 더 복잡하고 큰 규모의 애플리케이션일 경우 common 디렉토리로 공통 기능 묶어서 관리 및 도메인별 폴더 생성하여 구조 관리 필요

● Etc

  1. 해당 repo의 sample 코드는 유수영 님의 Standard Spring Boot Structure 와 연동 테스트 할 수 있도록 구현하였습니다.

※ ver 0.1 로컬 환경 구성 기준

vue_common_boilerplate's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.