内容简介:Remains of a SaaS business I once tried to build. Now transformed into a template for building an SaaS/admin application using React + Material-UI.
React SaaS Template
Remains of a SaaS business I once tried to build. Now transformed into a template for building an SaaS/admin application using React + Material-UI.
Getting Started
Prerequisites
Node.js 12+ (versions below could work, but are not tested)
-
Linux:
sudo apt install nodejs npm
-
Windows or macOS:
Installing
-
Clone the repository
git clone https://github.com/dunky11/react-saas-template
-
Install dependencies, this can take a minute
cd react-saas-template npm install
-
Start the local server
npm start
Your browser should now open and show the app. Otherwise open http://localhost:3000/ in your browser. Editing files will automatically refresh the page.
What to do next?
If you are new to React, you should watch a basic React tutorial first.
If you already know React, then most of the information you need is in the Material-UI documentation .
You can go into src/theme.js and change the primary and secondary color codes at the top of the script to the values you like and some magic will happen.
Deployment
If you are happy with the state of your website you can run:
npm run build
It will create a folder named build with your compiled project inside. After that copy its content into your webroot and you are ready to go.
Build With
- Create-React-App - Used to bootstrap the development
- Material-UI - Material Design components
- React-Router - Routing of the app
- Pace - Loading bar at the top
- Emoji-Mart - Picker for the emojis
- React-Dropzone - File drop component for uploads
- Recharts - Charting library I used for the statistics
- Aos - Animations based on viewport
- React-Cropper - Cropper for the image uploads
Things im currently working on
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
The Shallows
Nicholas Carr / W. W. Norton & Company / 2011-6-6 / USD 15.95
"Is Google making us stupid?" When Nicholas Carr posed that question, in a celebrated Atlantic Monthly cover story, he tapped into a well of anxiety about how the Internet is changing us. He also crys......一起来看看 《The Shallows》 这本书的介绍吧!