1.1.21 • Published 7 years ago
mv-ionic-components v1.1.21
Ionic Components, by MOVENTES
Install the dependency
in your own Ionic project:
- install it with NPM
$ npm i mv-ionic-components --save
- import it in
app.module.ts
:
import { ComponentsIonicModule } from 'mv-ionic-components';
@NgModule({
imports: [
/* .. */
ComponentsIonicModule.forRoot()
],
})
export class AppModule { }
- import it in the page module if needed
Run the sample project
git clone git@github.com:Moventes/ionic-components.git
npm i
ionic serve
Add a new component to this library
- add your code in
[PROJECT_ROOT]/componentes/src/components/
- declare your new component in
[PROJECT_ROOT]/componentes/src/componentes.module.ts
- declare your new component in
[PROJECT_ROOT]/componentes/src/lib.module.ts
- export it in
[PROJECT_ROOT]/componentes/src/public_api.ts
- add an example of use in
[PROJECT_ROOT]/src/pages
- increase the version number of the library in
[PROJECT_ROOT]/componentes/package.json
- publish on NPM repository with the command
npm run publish:npm
1.1.21
7 years ago
1.1.20
7 years ago
1.1.19
7 years ago
1.1.18
7 years ago
1.1.17
7 years ago
1.1.16
7 years ago
1.1.15
7 years ago
1.1.14
7 years ago
1.1.13
7 years ago
1.1.12
7 years ago
1.1.11
7 years ago
1.1.10
7 years ago
1.1.9
7 years ago
1.1.8
7 years ago
1.1.7
7 years ago
1.1.6
7 years ago
1.1.5
7 years ago
1.1.4
7 years ago
1.1.3
7 years ago
1.1.2
7 years ago
1.1.1
7 years ago
1.1.0
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago