|
1 |
| -# SAFE Template |
| 1 | +# Feliz.ReactAwesomeSLider |
2 | 2 |
|
3 |
| -This template can be used to generate a full-stack web application using the [SAFE Stack](https://safe-stack.github.io/). It was created using the dotnet [SAFE Template](https://safe-stack.github.io/docs/template-overview/). If you want to learn more about the template why not start with the [quick start](https://safe-stack.github.io/docs/quickstart/) guide? |
| 3 | +Feliz binding for [react-awesome-slider](https://github.com/rcaferati/react-awesome-slider) |
4 | 4 |
|
5 |
| -## Install pre-requisites |
| 5 | +## Install |
6 | 6 |
|
7 |
| -You'll need to install the following pre-requisites in order to build SAFE applications |
8 |
| - |
9 |
| -* [.NET Core SDK](https://www.microsoft.com/net/download) 5.0 or higher |
10 |
| -* [Node LTS](https://nodejs.org/en/download/) |
11 |
| - |
12 |
| -## Starting the application |
13 |
| - |
14 |
| -Before you run the project **for the first time only** you must install dotnet "local tools" with this command: |
15 |
| - |
16 |
| -```bash |
17 |
| -dotnet tool restore |
18 |
| -``` |
19 |
| - |
20 |
| -To concurrently run the server and the client components in watch mode use the following command: |
21 |
| - |
22 |
| -```bash |
23 |
| -dotnet run |
24 |
| -``` |
25 |
| - |
26 |
| -Then open `http://localhost:8080` in your browser. |
27 |
| - |
28 |
| -The build project in root directory contains a couple of different build targets. You can specify them after `--` (target name is case-insensitive). |
29 |
| - |
30 |
| -To run concurrently server and client tests in watch mode (you can run this command in parallel to the previous one in new terminal): |
31 |
| - |
32 |
| -```bash |
33 |
| -dotnet run -- RunTests |
| 7 | +```f# |
| 8 | +femto install Feliz.ReactAwesomeSlider |
34 | 9 | ```
|
35 | 10 |
|
36 |
| -Client tests are available under `http://localhost:8081` in your browser and server tests are running in watch mode in console. |
37 |
| - |
38 |
| -Finally, there are `Bundle` and `Azure` targets that you can use to package your app and deploy to Azure, respectively: |
39 |
| - |
40 |
| -```bash |
41 |
| -dotnet run -- Bundle |
42 |
| -dotnet run -- Azure |
43 |
| -``` |
44 |
| - |
45 |
| -## SAFE Stack Documentation |
46 |
| - |
47 |
| -If you want to know more about the full Azure Stack and all of it's components (including Azure) visit the official [SAFE documentation](https://safe-stack.github.io/docs/). |
48 |
| - |
49 |
| -You will find more documentation about the used F# components at the following places: |
| 11 | +## Live example |
50 | 12 |
|
51 |
| -* [Saturn](https://saturnframework.org/) |
52 |
| -* [Fable](https://fable.io/docs/) |
53 |
| -* [Elmish](https://elmish.github.io/elmish/)"# feliz-react-awesome-slider" |
| 13 | +A demo can be found [here](https://akash-mair.github.io/feliz-react-awesome-slider/) with some sample code |
0 commit comments