Respond UI
Setup front-end development for Respond using the Angular CLI. Learn more about the Angular CLI at cli.angular.io.
1. Install the Angular CLI Globally
npm install -g @angular/cli
2. Clone the respond-ui repo
git clone https://github.com/madoublet/respond-ui
3. Install Dependencies
cd respond-ui npm install
4. Update PrOXY.CONF
"/api": {
"target": "http://path-to-respond-backend.com",
"changeOrigin": true,
"secure": false
},
"/sites": {
"target": "http://path-to-respond-backend.com",
"changeOrigin": true,
"secure": false
},
"/themes": {
"target": "http://path-to-respond-backend.com",
"changeOrigin": true,
"secure": false
},
"/edit": {
"target": "http://path-to-respond-backend.com",
"changeOrigin": true,
"secure": false
},
"/app/libs": {
"target": "http://path-to-respond-backend.com",
"changeOrigin": true,
"secure": false
}
5. Serve the App
ng serve --proxy-config proxy.conf.json