1.4.0 • Published 2 years ago

pyscript-solid v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

PyScript Solid

Use PyScript together with Solid.js.

Getting Started

Installation

Install pyscript-solidjs using npm:

npm install pyscript-solidjs
# or
yarn add pyscript-solidjs
# or
pnpm install pyscript-solidjs

Usage

Simple Hello World in pyscript-solid.

import type { Component } from "solid-js";
import { PyScript, PyScriptProvider } from "pyscript-solid";

const App: Component = () => {
  return (
    <PyScriptProvider>
      <PyScript>print("Hello World")</PyScript>
    </PyScriptProvider>
  );
};

export default App;

You can find more examples under the examples directory.

1.4.0

2 years ago

1.3.0

2 years ago

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago