Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: import css or json from import-maps or http #73

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Commits on Jun 26, 2023

  1. feat: import css | json from module or http

    import 'foo/style.css' --> <link rel="stylesheet" href="" />, href is import.meta.resolve('foo/style.css')
    import 'http://127.0.0.1/style.css' --> <link rel="stylesheet" href="http://127.0.0.1/style.css" />
    import data from 'foo/data.json' --> const data = await (await fetch(import.meta.resolve('foo/data.json'))).json()
    Thy3634 authored and sxzz committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    6c8ae8b View commit details
    Browse the repository at this point in the history
  2. feat: import assets as url

    yingyiyang authored and sxzz committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    46faae7 View commit details
    Browse the repository at this point in the history
  3. feat: import uri?raw as text

    yingyiyang authored and sxzz committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    5adce61 View commit details
    Browse the repository at this point in the history
  4. style: format

    sxzz committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    504811c View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. Configuration menu
    Copy the full SHA
    2e62b65 View commit details
    Browse the repository at this point in the history