wau2380's playground

how to install Vue.js in windows system(윈도우 환경에서 vue 프레임워크 설치하는 방법) 본문

Vue.js

how to install Vue.js in windows system(윈도우 환경에서 vue 프레임워크 설치하는 방법)

wau2380 2021. 9. 5. 17:39

In my case, I don't install Node.js. lol 

So, If you don't install Node.js. You can't write this code like "npm install vue" , "npm ~~~"

first install node.js

https://nodejs.org/ko/download/

 

다운로드 | Node.js

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

nodejs.org

 

And restart coumputer!

and typing in cmd like this

npm install vue

install again

npm install -g @vue/cli

typing this in vsc terminal

vue create test(file name of your choice)

Then, go to the file(in my case is test) typing this

npm run serve

 

goto http://localhost????

and result is...

if you have bug like this

vue : 이 시스템에서 스크립트를 실행할 수 없으므로 C:\Users\####\AppData\Roaming\npm\vue.ps1 파일을 로드할 수 없습니다. 자세한 내용은 about_Execution_Policies(https://go.microsoft.com/fwlink/?LinkID=135170)를 참조하십시오.   
위치 줄:1 문자:1
+ vue create test
    + CategoryInfo          : 보안 오류: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess

Referece it

https://singa-korean.tistory.com/21

 

[PowerShell] VSCode 터미널 오류 : 이 시스템에서 스크립트를 실행할 수 없으므로 ~ .ps1 파일을 로드할

VSCode 에서 npm을 설치하고 사용하고자 할 때 아래와 같은 어려움에 부딪칠 수 있다. 이는 스크립트 실행 권한이 제한되어 있는 상태이기 때문이다. 스크립트 실행 권한을 변경하기 위해서는 Window

singa-korean.tistory.com

 

Thankyou~

'Vue.js' 카테고리의 다른 글

Vue.js 프로젝트 구조  (2) 2021.09.08