vuex State Management Pattern

You cannot directly mutate the store’s state. The only way to change a store’s state is by explicitly committing mutations. mapState Getters mapGetters Mutations ( 변이 ) Actions Modules

Vue-cli project

Vue-cli installation

with mac

creating a project

vue-cli vuejs-templates vue list


javascript package manager facebook에서 npm을 사용하면서 보안, 성능 등의 문제로 npm을 대체할 package manager 개발 yarn install npm 을 이용한 설치


create package.json ( 프로젝트 폴더에서 )