1.0.6 • Published 7 years ago

my-institution-component v1.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

The Primo Studio feature build guide

Package documentation

https://eladnava.com/publishing-your-first-package-to-npm

  • Primo-Studio expect your package to be called the same as your component, and both suppose to include your-institution-code-then-your-component-name, e.g some-college-no-results-animated.

  • You can see in the example how we use :

  1. An HTML5 tag - header
  2. A Primo directive : prm-topbar , prm-search-bar.
  3. An external material design directive : md-progress-bar :

    https://material.angularjs.org/latest/api/directive/mdProgressLinear

Concept:

  • When you want to add your own JavaScript functionality - you will need to create your own placeholder Directive that any one that installed your package can used by adding it to their project at the right place.

//////////////////TODO from here!!!!!!!!!

Point your package.json "main" field to your main module, which will export the component as an angular module.

In index.js

module.exports = 'myInstitutionComponent';

Then build your component as

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago