1.0.48 • Published 11 months ago

@dot-web-shell/cli v1.0.48

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

@dot-web-shell/cli

Generates Code to create MAUI based Web View App.

What is dot-web-shell

Dot-Web-Shell is a webview based app (similar to capacitor/cordova), completely written in .NET 8. While the app starts a URL in a web view, nativeShell is exposed on the window object that you can interact with .NET classes.

Installation

  1. Create an empty folder where you want your app to reside.
  2. Run npm init
  3. Run npm install -s @dot-web-shell/cli
  4. Run node ./node_modules/@dot-web-shell/cli init
  5. Commit your changes to git repo
  6. Run npm run sync

Setup CI

  1. npm version patch will sync the version and push the code in repository.

Getting Started

Dot-Web-Shell's WebView exposes nativeShell property on the window.

Execute Simple Script

    const getName = async () => {
        const clr = await import("clr");
    };

    const result = await window.nativeShell.invoke(getName);
1.0.48

11 months ago

1.0.47

11 months ago

1.0.46

11 months ago

1.0.45

11 months ago

1.0.44

11 months ago

1.0.43

11 months ago

1.0.42

11 months ago

1.0.41

11 months ago

1.0.40

11 months ago

1.0.39

11 months ago

1.0.38

11 months ago

1.0.37

11 months ago

1.0.36

11 months ago

1.0.35

11 months ago

1.0.34

11 months ago

1.0.33

11 months ago

1.0.32

11 months ago

1.0.31

11 months ago

1.0.30

11 months ago

1.0.29

11 months ago

1.0.28

11 months ago

1.0.27

11 months ago

1.0.26

11 months ago

1.0.25

11 months ago

1.0.24

11 months ago

1.0.23

11 months ago

1.0.22

11 months ago

1.0.21

11 months ago

1.0.20

11 months ago

1.0.19

11 months ago

1.0.18

11 months ago

1.0.17

11 months ago

1.0.16

11 months ago

1.0.12

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago