Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add a Toga SPA rendering demo#31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fpliger merged 4 commits intomainfromtoga-spa
Apr 20, 2022
Merged

Add a Toga SPA rendering demo#31

fpliger merged 4 commits intomainfromtoga-spa
Apr 20, 2022

Conversation

freakboy3742
Copy link
Contributor

Same Toga "Freedom units" demo; this time rendered a 100% client-side SPA.

Copy link
Contributor

@fpligerfpliger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

minor comment. lgtm \m/

import asyncio
import micropip

await micropip.install([
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

You should be able to change this with

<py-env>    './static/wheels/travertino-0.1.3-py3-none-any.whl',    './static/wheels/toga_core-0.3.0.dev33-py3-none-any.whl',    './static/wheels/toga_web-0.3.0.dev33-py3-none-any.whl',    './static/wheels/freedom-0.0.1-py3-none-any.whl'</py-env>

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

That works on the SPA version; but it doesn't appear to work on the served version - it converts:

- '/static/wheels/toga_core-0.3.0.dev33-py3-none-any.whl'

into a request forhttps://cdn.jsdelivr.net/static/wheels/toga_core-0.3.0.dev33-py3-none-any.whl

- './static/wheels/toga_core-0.3.0.dev33-py3-none-any.whl'

into a request forhttps://cdn.jsdelivr.net/pyodide/v0.20.0/full/static/wheels/toga_core-0.3.0.dev33-py3-none-any.whl

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks like the problem was between keyboard and chair. A stale pyscript build was the problem. New PR incoming.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@fpligerfpligerfpliger approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@freakboy3742@fpliger

[8]ページ先頭

©2009-2025 Movatter.jp