npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@sapui5/generator-sapui5-templates

v1.71.6

Published

Yeoman Wrapper for SAPUI5 Application templates

Downloads

1,998

Readme

generator-sapui5-templates

NPM version

Description

The Yeoman SAPUI5 templates project is a generic Yeoman wrapper for SAPUI5 templates from the SAPUI5 distribution. It uses our tried-and-true original templates:

  • SAP Fiori Worklist Application (1worklist)
  • SAP Fiori Master-Detail Application (2masterdetail)
  • SAP Fiori Worklist Application OData V4 (3worklistodatav4)

You can finally use a Yeoman generator to create an application based on one of the SAPUI5 templates mentioned above. Just follow the Yeoman prompts to fill in the missing properties. The major.minor version of the templates is aligned with the version of the SAPUI5 distribution.

Installation

You can install the Yeoman generator either globally or locally. The following chapters explain both options.

Global

  1. Get Node.js (version 8.5 or higher).
  2. Install the generator globally:
    npm install -g yo @sapui5/generator-sapui5-templates
  3. Verify your installation to see if Yeoman has been installed correctly:
    yo --generators
    If the @sapui5/sapui5-templates generator is listed, you're ready to go.

Local

  1. Go into the root folder of your existing Node project.
  2. Install the generator locally:
    npm install @sapui5/generator-sapui5-templates --save-dev
  3. Verify your installation to see if Yeoman has been installed correctly:
    yo --generators
    If the @sapui5/sapui5-templates generator listed, you're ready to go.

Usage

Create Your First SAPUI5 App in Seconds!

This will set up a basic SAPUI5 app with a file structure that follows our best practices.

  1. Scaffold your SAPUI5 project:
    yo @sapui5/sapui5-templates
  2. Answer the prompts to create your SAPUI5 project.
  3. Run your app locally:
    cd <your project name>
    npm start

Create Your SAP Fiori Worklist Application in Seconds!

This will set up a typical worklist floorplan.

  1. Scaffold your SAP Fiori worklist application project:
    yo @sapui5/sapui5-templates:1worklist
  2. Answer the prompts to create your SAP Fiori worklist application project.
  3. Run your worklist app locally
    cd <your project name>
    npm start

You can use this procedure for any of the available templates, just use the proper template ID:

  • SAP Fiori Worklist Application (template ID: 1worklist)
  • SAP Fiori Master-Detail Application (template ID: 2masterdetail)
  • SAP Fiori Worklist Application OData V4 (template ID: 3worklistodatav4)

License

The Yeoman generator for the SAPUI5 templates is provided under the terms of the SAP DEVELOPER LICENSE AGREEMENT.