Невозможно разрешить импортный файлJavascript

Форум по Javascript
Anonymous
Невозможно разрешить импортный файл

Сообщение Anonymous »

Ошибка: невозможно разрешить ../ components/themedview из App \ (auth) \ register.jsx

Код: Выделить всё

// ThemedView.jsx
import { View, useColorScheme } from 'react-native'
import { Colors } from '../constants/Colors'

const ThemedView = ({ style, ...props }) => {
const colorScheme = useColorScheme()
const theme = Colors[colorScheme] ?? Colors.light

return (

)
}

export default ThemedView
< /code>
register.jsx
import { StyleSheet } from 'react-native';
import { Link } from 'expo-router';
import ThemedView from '../components/ThemedView';
import Spacer from '../components/Spacer';
import ThemedText from '../components/ThemedText';

const Register = () => {
return (




Register for an Account






Login Instead



)
}

export default Register

const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
},
title: {
fontSize: 18,
marginBottom: 30,
textAlign: 'center',
},

link: {
marginVertical: 10,
borderBottomWidth: 1,
},
});

Я пытался искать здесь и онлайн, но не смог получить никуда, это из expo ninja -ninja - полный насыщенные #7 -й.>

Подробнее здесь: https://stackoverflow.com/questions/797 ... orted-file

Вернуться в «Javascript»