방법 1 • 1) VSCode를 실행하고 Ctrl + Shift + P 조합키를 입력합니다. (아마 모든 설정 검색 창) • 2) "shell"이라고 입력합니다. • 3) "Treminal: Select Default Shell"을 클릭합니다. • 4) "Comand Prompt C:\Windows\System32\cmd.exe"를 클릭합니다. • 5) VScode를 재실행 하면 제일 아래 "PS"로 시작하던 것이 없어졌을 것이고 이는 CMD로 바뀌었다는 의미가 됩니다.
방법 2
• 1) windows PowerShell 관리자 권한으로 실행 • 2)Set-ExecutionPolicy -ExecutionPolicy Unrestricted 입력 엔터 A 입력
App.js
import React from 'react';
import main from './assets/main.png';
import { StyleSheet, Text, View, Image, TouchableOpacity, ScrollView} from 'react-native';
export default function App() {
console.disableYellowBox = true;
//return 구문 밖에서는 슬래시 두개 방식으로 주석
return ()
}
const styles = StyleSheet.create({})