Skip to content

Setting default window size and title #510

Answered by DustinBrett
palamedes asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks very much, happy to hear you found it robust!

The title is controlled in the components\pages\Metadata.tsx file. Line 133 <title>{title}</title> has the title and the variable is made on line 26 const [title, setTitle] = useState(alias). If you want to update or set the title you can do it there. By default it is based on alias which comes from the line you mention.

As for things being config, I have almost nothing which could be considered a "config", other than session.json but that is mostly for storing context states. I plan one day to have something more configurable, but currently my project is both not configurable and very configurable, depending on how you view open source.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@palamedes
Comment options

Answer selected by palamedes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants