커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
2-4 vscode
[왕초보] 나만의 수익성 앱, 앱개발 종합반
2주차
북마크
송*지
댓글
6
추천
0
조회수
6
조회수
6
답변 완료


vscode에서 오류가 나서인지 어플화면에 처음로딩화면 그대로있습니다..




import { StatusBar } from 'expo-status-bar';

import React from 'react';

import { StyleSheet, Text, View } from 'react-native';


export default function App() {

  return (

    <View style={styles.container}>

      import React from 'react';

import { StyleSheet, Text, View } from 'react-native';


export default function App() {

  return (

    <View style={styles.container}>

      <Text>문자는 Text 태그 사이에 작성!!</Text>

      <Text>문자는 Text 태그 사이에 작성!!</Text>

      <Text>문자는 Text 태그 사이에 작성!!</Text>

      <Text>문자는 Text 태그 사이에 작성!!</Text>

      <Text>문자는 Text 태그 사이에 작성!!</Text>

      <Text>문자는 Text 태그 사이에 작성!!</Text>

      <Text>문자는 Text 태그 사이에 작성!!</Text>

      <Text>문자는 Text 태그 사이에 작성!!</Text>

      <Text>문자는 Text 태그 사이에 작성!!</Text>

      <Text>문자는 Text 태그 사이에 작성!!</Text>

      <Text>문자는 Text 태그 사이에 작성!!</Text>

    </View>

  );



const styles = StyleSheet.create({

  container:{

    flex: 1,

    backgroundColor: '#fff',

    alignItems: 'center',

    justifyContent: 'center',

  },

});

      <View style={styles.subContainerOne}></View>

      <View style={styles.subContainerTwo}></View>

    </View>

  );

}


const styles = StyleSheet.create({

  container: {

    flex: 1,

    backgroundColor: '#fff',

  },

  subContainerOne: {

    flex:1,

    backgroundColor:"yellow"

  },

  subContainerTwo: {

    flex:1,

    backgroundColor:"green"

  }

});






취소
 공유
취소
댓글 0
댓글 알림
나의얼굴