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하여 데이터를 수정하거나 받을 수 있다. 

vue()가 실행되면, beforecreated가 가장 먼저 실행됨.

+ Recent posts