vu i
npm i vue vuex vuetify vue-router // node -module
vue create itda
.gitignore // 역할 : git에 올릴 때 필요없는건 삭제한다.
gitignore.io = > visualStduioCode, Node, vue // 사용자 환경 변수.
-> gitignore를 통해서 삭제된 거를 다시 받으려면, 해당 폴더에서 npm init -> npm install -> npm run serve
이후 , 기본 셀을 git bash로 설정하면 된다.
뷰 웹팩은 vue를 html로 변환해줌.
비어있는 html + 완성되어 있는걸 같이 보냄
비어있는 곳에 html로 변환?
index.html -> 뷰 -> main.js -> app.뷰(최상단)으로?
component, view 영역 - templete, script, style 로 존재.
new Vue
{
el
data
method
created // 이게 훅?
}
lifeCycle이 존재함: Hook하여 데이터를 수정하거나 받을 수 있다.
'개발 및 언어 > 뷰' 카테고리의 다른 글
this.$Emit( 보낼이름, 내용) , this.$props( 보낼이름, 내용) (0) | 2020.02.02 |
---|---|
VueX(Actions, Mutations, State) (0) | 2020.01.26 |
Computed와 Method 차이는? (0) | 2020.01.26 |
뷰_데이터 출력 방식 ( v-bind, v-html,v-model) (0) | 2020.01.23 |
SSR(서버사이드렌더링)과 SPA(클라이언트 사이드 렌더링) (0) | 2020.01.16 |