You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/jekyll/getting-started/download.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -9,15 +9,15 @@ Release Versions
9
9
The best way to install ReactJS.NET is via NuGet. There are several NuGet
10
10
packages available:
11
11
12
-
*[React.Core](#) - The core React library. Contains the main functionality of
12
+
*[React.Core](https://www.nuget.org/packages/React.Core/) - The core React library. Contains the main functionality of
13
13
React and JSX. You will normally use this through an integration library
14
14
like React.Mvc4.
15
-
*[React.Mvc4](#) - Integration with ASP.NET MVC 4 and 5
16
-
*[React.Mvc3](#) - Integration with ASP.NET MVC 3
17
-
*[System.Web.Optimization.React](#) - Integration with
15
+
*[React.Mvc4](https://www.nuget.org/packages/React.Mvc4/) - Integration with ASP.NET MVC 4 and 5.
16
+
*[React.Mvc3](https://www.nuget.org/packages/React.Mvc3/) - Integration with ASP.NET MVC 3.
17
+
*[React.JavaScriptEngine.VroomJs](https://www.nuget.org/packages/React.JavaScriptEngine.VroomJs/) - Support for Mono (Linux) via Google's V8 engine
18
+
*[Cassette.React](https://www.nuget.org/packages/Cassette.React/) - Integration with [Cassette](http://getcassette.net/). The recommended way to combine and minify your JavaScript.
19
+
*[System.Web.Optimization.React](https://www.nuget.org/packages/System.Web.Optimization.React/) - Integration with
18
20
[ASP.NET Bundling and Minification](http://www.asp.net/mvc/tutorials/mvc-4/bundling-and-minification).
19
-
Use this to combine and minify your JavaScript.
20
-
*[Cassette.React](#) - Integration with [Cassette](http://getcassette.net/)
21
21
22
22
These packages can be installed either via the
23
23
[UI in Visual Studio](https://docs.nuget.org/docs/start-here/managing-nuget-packages-using-the-dialog),
Copy file name to clipboardExpand all lines: site/jekyll/guides/mono.md
+32-9
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,35 @@ layout: docs
3
3
title: Linux (Mono)
4
4
---
5
5
6
-
**New in ReactJS.NET 0.2.0**
7
-
8
-
ReactJS.NET 0.2.0 includes partial Mono support. Server-side component rendering
9
-
is supported, but JSX compilation is not yet supported. In order to use JSX
10
-
on Linux, you need to precompile all your JSX files on Windows before
11
-
deployment. This can be done via the [MSBuild task](/guides/msbuild.html) or via
12
-
[Cassette](/guides/cassette.html). Precompilation via the MSBuild task will
13
-
create `.generated.js` files which need to be deployed alongside the original
14
-
`.jsx` files.
6
+
**New in ReactJS.NET 0.2.1**
7
+
8
+
ReactJS.NET 0.2.1 includes full support for Mono via Google's [V8 JavaScript engine](https://code.google.com/p/v8/), the same engine used by Google Chrome and Node.js. To use ReactJS.NET with Mono, you need to compile V8 and VroomJs (a .NET wrapper around V8). This can be accomplished by running the following shell commands on your Linux or Mac OS X machine:
9
+
10
+
```sh
11
+
# Get a supported version of V8
12
+
cd /usr/local/src/
13
+
git clone https://github.com/v8/v8.git
14
+
cd v8
15
+
git checkout 3.17
16
+
17
+
# Build V8
18
+
make dependencies
19
+
make native werror=no library=shared soname_version=3.17.16.2 -j4
Once this has been completed, install the **React.JavaScriptEngine.VroomJs** package to your website.
36
+
37
+
If VroomJs fails to load, you will see an exception when your application is started. If this happens, run Mono with the `MONO_LOG_LEVEL=debug` environment variable to get more useful debugging information. Often, this occurs when Mono is unable to locate V8 (ie. it's not in /usr/lib/ or /usr/local/lib/)
0 commit comments