Git Product home page Git Product logo

generator-spsmadrid's Introduction

generator-spsmadrid - Sample to demonstrate how to generate a starter template extending spfx

This sample generator performs the following actions:

  • Apply custom config (replaces gulp file)
  • Adds webpart bundles and strings location to the existing config file
  • Copies models, services, utils, webparts and tslint files to the new project's location
  • Installs PnP.js, PnP React Controls and PnP Property Controls npm packages

Installation

# Clone repository
git clone https://github.com/RodCoder/Generator-spsmadrid.git

# Switch to the repositories directory
cd generator-spsmadrid

# Create a global symlink to appear as a global npm package
npm link

The generator is not published on NPM. The only way to use and install it is through cloning the repository and link the local files in the global npm cache. In general this generator should only be used to configure new projects after the configuration has once been provisioned @microsoft/sharepoint should be used.

Usage

This generator is 100% based on @microsoft/generator-sharepoint and supports two different scenarios:

  • SPFx template pre-configured with models, services, utils and npm packages
  • Optional installation of webparts

The basic usage is to start a new project through:

yo spsmadrid

https://github.com/RodCoder/Generator-spsmadrid/blob/master/assets/init-generator.png

generator-spsmadrid's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.