inblog logo
|
vosw1
    Script

    Vue.js 설치하기

    송민경's avatar
    송민경
    Sep 07, 2024
    Vue.js 설치하기

    설치되어있다는 전제로 진행하기에 없으면 설치해주세요
    Visual Studio Code 설치하기
    Visual Studio Code 설치하기
    Node.js 설치하기

    1. 터미널에 설치 명령어 입력하기

    npm install -g @vue/cli
    notion image
     

    2. 프로젝트 생성하기

    vue create vue-start
    notion image

    해결 방법

    • 터미널에서 실행 정책 확인 및 변경
      • 로컬에 있는 스크립트는 실행 가능
      • 원격에서 다운로드한 스크립트는 서명이 필요
        • Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
    • 설정 확인
    Get-ExecutionPolicy -List
    • 프로젝트 생성하기
    vue create vue-start
    • vue 버전 선택
    notion image
    notion image

    3. 생성한 프로젝트로 이동 및 실행

    cd vue-project npm run serve
    notion image
    notion image
     
    Share article

    vosw1

    RSS·Powered by Inblog