Skip to content

The default titie of reactpy is 'Reactpy', how to customize the title for reactpy #1068

@johe123qwe

Description

@johe123qwe

Current Situation

@component
def App():
    temps_list = read_last10('pi_temp.txt')
    return html._(
        html.title("raspberry pi temperature monitor"),
        html.h1("raspberry"),
        html.img({
            "src": "https://cdn.pixabay.com/photo/2016/11/27/21/42/stock-1863880_1280.jpg",
            "style": {"width": "10%", "margin_left": "0%"},
            }),
        DataList(temps_list),
        html.p('cpu load: {}'.format(load_avg)),
        html.p('uptime: {}'.format(GetTime())),
    )

Proposed Actions

I tried to check the documentation on the official website but I don't quite understand it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions