Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| public:computer:node.js [2023/01/02 16:45] – alex | public:computer:node.js [2023/01/03 09:54] (current) – alex | ||
|---|---|---|---|
| Line 20: | Line 20: | ||
| ==== Install ==== | ==== Install ==== | ||
| + | |||
| + | === Install Node.js on MacOS === | ||
| brew 설치 <cli> | brew 설치 <cli> | ||
| $ / | $ / | ||
| Line 28: | Line 30: | ||
| </ | </ | ||
| - | |||
| - | Vue CLI 설치 <cli prompt=" | ||
| - | $ npm install -g @vue/cli | ||
| - | or | ||
| - | $ yarn global add @vue/cli | ||
| - | or | ||
| - | $ yarn dlx @vue/clie | ||
| - | |||
| - | $ vue --version | ||
| - | $ npm list -g --depth=0 | ||
| - | </ | ||
| - | |||
| - | Vue CLI 삭제 <cli prompt=" | ||
| - | $ npm uninstall -g vue-cli | ||
| - | </ | ||
| - | |||
| - | vue 프로젝트 생성 <cli prompt=" | ||
| - | $ vue create < | ||
| - | |||
| - | $ cd < | ||
| - | $ npm run serve | ||
| - | </ | ||
| - | |||
| - | vuetify 패키지 추가 <cli> | ||
| - | $ vue add vuetify | ||
| - | </ | ||
| - | |||
| - | vue-router 설치 <cli> | ||
| - | $ vue add router | ||
| - | </ | ||
| - | |||
| - | vuex 설치 <cli> | ||
| - | $ vue add vuex | ||
| - | </ | ||
| - | |||
| - | axios 설치 <cli> | ||
| - | $ vue add axios | ||
| - | </ | ||
| === Install Node.js on Ubuntu === | === Install Node.js on Ubuntu === | ||
| Line 95: | Line 59: | ||
| </ | </ | ||
| * npm update <sxh bash> | * npm update <sxh bash> | ||
| - | $ npm install -g npm@lsatest | + | $ npm install -g npm@latest |
| $ npm -v | $ npm -v | ||
| </ | </ | ||
| + | |||
| + | === Install Vue.js === | ||
| + | {{page> | ||
| + | |||
| Line 280: | Line 248: | ||
| * forever | * forever | ||
| * pm2 | * pm2 | ||
| + | |||
| + | ===== References ===== | ||
| + | * [[https:// | ||