GitBook: [#140] No subject
This commit is contained in:
Родитель
aea6d752db
Коммит
8e1689e0d7
|
@ -2,7 +2,7 @@
|
|||
|
||||
* [👋 Welcome](README.md)
|
||||
|
||||
## Documentation <a href="docs" id="docs"></a>
|
||||
## Documentation <a href="#docs" id="docs"></a>
|
||||
|
||||
* [⚡ Getting Started](docs/getting-started/README.md)
|
||||
* [IDE Support](docs/getting-started/ide-support/README.md)
|
||||
|
@ -104,7 +104,7 @@
|
|||
* [📦 Distribution / Publishing](docs/distribution-publishing/README.md)
|
||||
* [macOS](docs/distribution-publishing/macos.md)
|
||||
|
||||
## API Reference <a href="api" id="api"></a>
|
||||
## API Reference <a href="#api" id="api"></a>
|
||||
|
||||
* [🧾 Namespaces](api/untitled/README.md)
|
||||
* [Avalonia](api/untitled/avalonia-ui-framework.md)
|
||||
|
@ -182,6 +182,7 @@
|
|||
* [Add Data Persistence](tutorials/music-store-app/add-data-persistence.md)
|
||||
* [Load data at Startup](tutorials/music-store-app/load-data-at-startup.md)
|
||||
* [Summary](tutorials/music-store-app/summary.md)
|
||||
* [Running in the Browser](tutorials/running-in-the-browser.md)
|
||||
|
||||
## Misc
|
||||
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
description: Run in the browser with WebAssembly
|
||||
---
|
||||
|
||||
# Running in the Browser
|
||||
|
||||
It is currently very early days and not ready for production, however if you want to test this exciting new feature please take the following steps.
|
||||
|
||||
1. install or update the dotnet templates to the latest version (0.10.11 or above).
|
||||
|
||||
```bash
|
||||
dotnet new -i avalonia.templates
|
||||
```
|
||||
|
||||
2\. Create a new directory for the project.
|
||||
|
||||
```
|
||||
mkdir WebTest
|
||||
cd WebTest
|
||||
```
|
||||
|
||||
3\. Generate a new project that supports running in the browser.
|
||||
|
||||
```
|
||||
dotnet new avalonia.xplat
|
||||
```
|
||||
|
||||
4\. In order to run simply do:
|
||||
|
||||
```
|
||||
cd WebTest.Web
|
||||
dotnet run
|
||||
```
|
||||
|
Загрузка…
Ссылка в новой задаче