https://github.com/geops/react-spatial-starter
https://github.com/geops/react-spatial-starter
react reactjs spatial
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/geops/react-spatial-starter
- Owner: geops
- License: mit
- Created: 2019-02-27T16:17:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-26T09:00:28.000Z (over 5 years ago)
- Last Synced: 2024-12-28T11:24:56.945Z (over 1 year ago)
- Topics: react, reactjs, spatial
- Language: JavaScript
- Homepage: https://github.com/geops/react-spatial
- Size: 2.67 MB
- Stars: 2
- Watchers: 6
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# geOps react-spatial Starter
[](https://www.npmjs.com/package/%40geops%2Freact-spatial-starter)
[](https://github.com/prettier/prettier)
This library provides a starter kit to create a web map application based on [React Spatial](https://github.com/geops/react-spatial).
## Technologies
* react
* redux
* react-router
* enzyme
* jest
* cypress
* react-spatial
* eslint with airbnb
* stylelint
* prettier
* sass
## Getting Started
* Install:
```bash
yarn install
```
* Start:
```bash
yarn start
```
Publish as NPM package:
* Publish:
```bash
yarn publish:build
```
* Create a new component from another
```bash
yarn cp
```
## Use as ES6 module
When this app is published as npm package, it can be integrated easily in other applications, as ES6 module:
* Install
```bash
yarn install
```
* In your App.js file:
```html
import React, { Component } from 'react';
import thisApp from '';
class App extends Component {
render() {
return (
);
}
}
export default App;
```