phawrylak / generator-spfx

Open-source generator to extend the capabilities of the Microsoft SPFx generator

Home Page:https://pnp.github.io/generator-spfx/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@pnp/generator-spfx

This is an open-source extension for native out of the box SPFx generator to introduce additional scaffolding support for Angular Elements, VueJS, Handlebars and many more in future. This generator has a dependency on native SPFx generator from Microsoft.

PnP SPFx Generator

Work is in progress and we'll absolutely accept contributions after the initial version is available.

Current Supported Frameworks and Add-ons

Add-on

The following add-on are supported:

Library Version Generators
jQuery 2.x, 3.x All
@pnp/pnpjs > 1.4. All
@pnp/spfx-property-controls 1.10.0 All
@pnp/spfx-controls-react 1.8.0 ReactJS

Frameworks

The following frameworks are supported:

Framework Version
Handlebars > 4.0.0
VueJS > 2.5.16
Angular Elements > 7.0.2

Usage

Install the generator:

npm install -g @pnp/generator-spfx

To start your first project using this generator:

yo @pnp/spfx

We will guide you through the your project creation.

Follow the  on screen

Installation for Development

The PnP Community generator is currently only available through the following method.

git clone https://github.com/pnp/generator-spfx.git

Install all required packages:

npm install

Start coding ...

More details on our documentation

SharePoint Patterns and Practices

Sharing is caring!

About

Open-source generator to extend the capabilities of the Microsoft SPFx generator

https://pnp.github.io/generator-spfx/

License:MIT License


Languages

Language:JavaScript 75.7%Language:TypeScript 19.7%Language:CSS 2.1%Language:Vue 1.9%Language:HTML 0.6%