Windows, vscode


I. Environment

System

Windows 10

VueJs

2.x

IDEA Version

Visual studio code

1. Install Git

Link: https://ionsdp.atlassian.net/wiki/pages/createpage.action?spaceKey=ICE4P&title=Git%20-%20Windows%2010&linkCreation=true&fromPageId=1306066980

2. Install Nodejs

Download

Url: https://nodejs.org/en/ => Recommended For Most Users version

3. Install Yarn

Url: https://classic.yarnpkg.com/en/docs/install/#windows-stable => npm install --global yarn

4. Install vscode

Download and install - vscode

Url: https://code.visualstudio.com/

 

Next, Install necessary tools for Vuejs and our project


II. ICE4 - Basecamp Project Setting For vscode

1. Source Code Download

a. Two option install

Option 1. Git clone by terminal

URL: http://dcsf-dev08.i-on.net/dxp/basecamp.git

Next, Write Username & Password

Option 2. Git clone inside vscode

 

2. Git Checkout

Click git branch on the left side and choose what you want to checkout git branch

 

3. Project Setting

Run npm install

 

Run yarn install

 

4. Change Domain Name

The default domain name is localhost

a. Instruction to change domain name:

Step 1: Open notepad Run as administrator and open hosts file

 

Step 2: Enter the domain name: 127.0.0.1 local.i-on.net

Step 3: Save file

 

Next, run yarn run loc

Url: http://local.i-on.net:8000

 

5. Apply ESLint

Click Settings

 

Enable ESlint

Enable Format on Save

Type default format and choose dbaeumer.vscode-eslint


III. Update library on package.json

If you want to update package.json. Removing package-lock.json and then run npm install again