curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
nvm: command not found -> touch ~/.bash_profile 입력 후 재설치
nvm install node
npm install -g yarn
npm install -g @vue/cli
yarn global add @vue/cli
vue create app
cd 폴더명
npm run serve
vue.config.js 추가 : 에러메시지 안뜨게 하는 방법
module.exports = {
chainWebpack: config => {
config.module.rules.delete('eslint');
}
}
<div id="app">
{{ hello }}
</div>
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
new Vue({
el: '#app',
data: {
hello: 'hello, World'
}
})
hello, World