Web app project to test the interoperability of Furo and SAP UI5
run npm install
to install the dependencies
Before you start the server you have to generate the API specs.
To do this, run npm run spec:build
to generate the needed environment files
The specs in this demo are pointing to static json files in /api, so you do not need an api server to see the client working.
To start a static server just type npm run start
.
The files for your project are located in /src
. The starter pack contains some example views (pages).
In /src/configs
you will find some config files for a usual app.
This ist the configuration for the adaptive "routing".
initialize application env, theme, api
In this file you can style the app (setting colors and spacing ,...).
In this file you can add your custom icons to the default icon set
The tests are located in /test
. Like every other folder, you are free to move them, as long you update the dependencies and configs.
To run the automated test use npm run test
. This will take some time... (when you have added your testsuites ;-))
Add your browsers in the karma.config.js
Build tools take your code and make it production-ready. Among the things you may need build tools to do:
- Transform ES6 code to ES5 for legacy browsers, including transforming JavaScript modules into other formats.
- Bundle modules together can improve performance by reducing the number of files that need to be transferred.
- Minify JavaScript, HTML, and CSS.
Many build tools can do this for you.
open-wc rollup build is already configured in this project
Read more about building your app on the lit-html page...
We have configured a lot of commands in the package.json (linter, formater, test, build, furo spec builder, furo user interface generators,...)
- start
- start:build
- build:compatibility
- build:modern
- lint
- lint:eslint
- lint:prettier
- format
- format:eslint
- format:prettier
- test
- test:watch
- test:update-snapshots
- test:prune-snapshots
- test:compatibility
- test:compatibility:watch
- test:bs
- uib:init
- uib:generate
- uib:watch
- spec:build
- rollup.config.js
- rollup.config.modern.js
- workbox-config.js
- karma.bs.config.js
- karma.conf.js
- furo.spec.conf.json
- furo.ui.spec.conf.json
- es-dev-server.config.js
- es-dev-server-build.config.js
The starter get some updates from time to time. To stay in sync with this changes, you can add the template repository as a remote.
git remote add template [email protected]:theNorstroem/template-furo-app-starter.git
git fetch --all
# initial merge
git merge template/master --allow-unrelated-histories
# resolve the conflicts and merge the changes