Skip to content

My personal exploration of using the SAP Fiori Fundamental (s)css library with React.JS and TypeScript

Notifications You must be signed in to change notification settings

huberv/my-fundamental-explorations

Repository files navigation

My personal exploration of using the SAP Fiori Fundamental (s)css library with React.JS and TypeScript.

Getting started

  • clone or download this repo
  • yarn install && yarn start (or use npm)
  • go play with src/App.tsx etc

References

Fiori etc:

Web design good practices:

React and TypeScript:

What I did

  • bootstrapped as described here: https://github.com/Microsoft/TypeScript-Babel-Starter

  • added webpack html plugin with template configuration

  • added linting, webpack-dev-server and react hot loading

  • added css/style/font loader

  • yarn add typescript tslint @babel/core @babel/plugin-proposal-class-properties @babel/plugin-proposal-object-rest-spread @babel/preset-env @babel/preset-typescript react-dom react @types/react @types/react-dom @babel/preset-react webpack babel-loader webpack-dev-server webpack-cli react-hot-loader css-loader style-loader file-loader html-webpack-plugin -D

  • yarn add fiori-fundamentals -D

  • Routing docs

Idea pool

  • typescript
  • routing: react-router-dom + react-app-location - work in progress
  • sidebar items as links to routes
  • main page content - Welcome to this wonderful app
  • page for global navigation settings
  • page for pages
  • sidebar shows active page
  • i18n

About

My personal exploration of using the SAP Fiori Fundamental (s)css library with React.JS and TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published