OpenUI5 sample app using webpack
This repository shows how to build a OpenUI5 app using webpack and the openui5-webpack-plugin
.
-
Clone this repository and navigate into it
git clone https://github.com/cevou/openui5-sample-app.git cd openui5-sample-app
-
Install all dependencies
npm install
-
Start a local server and run the application (http://localhost:8080/index.html)
npm run start
- Execute the build
npm run build
- Run the result
- Install an HTTP server like zeit/serve (Note: You can use any HTTP server. If you use zeit/serve, please use version 6 as gzip support has been removed in newer versions.)
# Install zeit/serve npm install --global serve@6
- Start an HTTP server for the newly created
/dist
directoryserve ./dist
- Open the app at http://localhost:5000/index.html
- Install an HTTP server like zeit/serve (Note: You can use any HTTP server. If you use zeit/serve, please use version 6 as gzip support has been removed in newer versions.)
- Add examples for tests