• Administrator
  •  
    Support Ukraine
    If you experience any problems with the forum (it is not visible, there is no way to post messages, or some functionality does not work), please let us know. If you have problems with registration or you did not receive confirmation letter, let us know and we will activate your account manually.
    If you get an "The submitted form was invalid. Try submitting again" error, delete cookies, then try again.
     

import from cause black screen

Topics related to the creation, development, and designing of the watch faces.

Moderators: asoo, Watchmens

Forum rules
When adding a new topic, use the template: Topic title [device name]
For example: How to create watch face [Falcon]
All communication in this branch should only be in English.
Post Reply
Dimitry
Posts: 1
Joined: 27 Dec 2024, 17:52
Location: London
Contact:

import from cause black screen

Post by Dimitry »

Hello everyone,
I'm trying to create my first watchface.
I can display a first one with a background and pointers.
For reasons of code reading, I created a styles.js file in the index.js directory to define elements.
But if I try to do:
import Colors from "./styles";

after downloading my watch screen remains black.
If I copy the Colors structure into the index.js file I have no problems.
It's really the import that makes everything crash. Does anyone have an idea why?
Thanks in advance
Post Reply

Return to “Watchfaces discussion”

Who is online

Users browsing this forum: No registered users and 1 guest