mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2025-12-13 07:46:10 +00:00
merged
This commit is contained in:
commit
6e0de3beda
@ -1,8 +1,8 @@
|
|||||||
# Example 1: Basic Map
|
# Example 1: Basic Map
|
||||||
|
|
||||||
With this example we learn how we create a basic React app with a Map component using [utopia-ui](https://github.com/utopia-os/utopia-ui) library.
|
In this example we see how we create a basic React app with a Map component using [utopia-ui](https://github.com/utopia-os/utopia-ui) library.
|
||||||
|
|
||||||
For this tutorial we use Vite to create an empty React app called "utopia-static-map"
|
For this example we use Vite to create an empty React app called "utopia-static-map"
|
||||||
|
|
||||||
```shell=
|
```shell=
|
||||||
npm create vite@latest utopia-static-map -- --template react
|
npm create vite@latest utopia-static-map -- --template react
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
# Example 2: Static Layers
|
# Example 2: Static Layers
|
||||||
|
|
||||||
In [Example 1](../1-basic-map) we learnd how we create a basic map app with [utopia-ui](https://github.com/utopia-os/utopia-ui). Now we add some static layer.
|
[Example 1](/1-basic-map) shows us how we create a basic map app with [utopia-ui](https://github.com/utopia-os/utopia-ui). Now we add some static layer.
|
||||||
|
|
||||||
First we put some sample data in a new file called `src/sample-data.ts`
|
First we put some sample data in a new file called `src/sample-data.ts`
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user