index.ios.js
'use strict';
require('./entry');
entry.js:
import React,
{AppRegistry, StyleSheet, Text, View } from 'react-native';
class movieView extends React.Component
{
}
AppRegistry.registerComponent('movieView', () => movieView);
Your question is not clear, and maybe the error you get is related to the namespace that you give for your file path. Hope this helps!
source
share