@quantr/quantr-spfx-library
TypeScript icon, indicating that this package has built-in type declarations

2.0.7 • Public • Published

Introduction

We heavily doing SPFx, so this library contains our useful functions

www.quantr.hk

Usage

npm i --save @quantr/quantr-spfx-library
import * as q from '@quantr/quantr-spfx-library';
q.widerDevMode();

Development

cd quantr-spfx-library
npm link
npm run deploy

Jump to testing project

cd test-spfx
npm link @quantr/quantr-spfx-library
gulp serve --nobrowser

When you change a line of code in this Library

  1. Delete lib
  2. Delete node_modules
  3. Deploy the library using this command
npm run deploy --ship
  1. go to test project
  2. run this command
gulp clean;npm run build;gulp serve

Compile the source and deploy to npmjs

npm run deploy npm login

change version number

npm publish

Troubleshoot

  1. If the a line of code is changed in this library, but its does not take effect in the test project
  2. run this command
npm unlink @quantr/quantr-spfx-library
  1. remove the folders, lib, node_modules, temp, and a file package-lock.json
  2. run this command
npm i

Readme

Keywords

Package Sidebar

Install

npm i @quantr/quantr-spfx-library

Weekly Downloads

0

Version

2.0.7

License

LGPL-3.0-or-later

Unpacked Size

31.9 kB

Total Files

12

Last publish

Collaborators

  • quantrpeter
  • tiffany_quantr