tsviewer-frontend/README.md

36 lines
1.7 KiB
Markdown
Raw Normal View History

2019-02-07 21:19:26 +00:00
# Frontend for TS-Viewer with React [WIP]
2019-02-06 21:13:14 +00:00
2019-02-07 21:25:46 +00:00
## IMPORTANT: Backend doesnt support CORS right now, therefore this frontend can't work
2019-02-07 21:19:26 +00:00
## Available Scripts from react-scripts
2019-02-06 21:13:14 +00:00
In the project directory, you can run:
### `npm start`
2019-02-07 21:25:46 +00:00
Runs the app in the development mode.
2019-02-06 21:13:14 +00:00
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
2019-02-07 21:25:46 +00:00
The page will reload if you make edits.
2019-02-06 21:13:14 +00:00
You will also see any lint errors in the console.
### `npm run build`
2019-02-07 21:25:46 +00:00
Builds the app for production to the `build` folder.
2019-02-06 21:13:14 +00:00
It correctly bundles React in production mode and optimizes the build for the best performance.
2019-02-07 21:25:46 +00:00
The build is minified and the filenames include the hashes.
2019-02-06 21:13:14 +00:00
Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you cant go back!**
If you arent satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point youre on your own.
You dont have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldnt feel obligated to use this feature. However we understand that this tool wouldnt be useful if you couldnt customize it when you are ready for it.