1.1.21 • Published 5 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
5 years ago
1.1.20
6 years ago
1.1.19
6 years ago
1.1.18
6 years ago
1.1.17
6 years ago
1.1.16
6 years ago
1.1.15
6 years ago
1.1.14
6 years ago
1.1.13
6 years ago
1.1.12
6 years ago
1.1.11
6 years ago
1.1.10
6 years ago
1.1.9
6 years ago
1.1.8
6 years ago
1.1.7
6 years ago
1.1.6
6 years ago
1.1.5
6 years ago
1.1.4
6 years ago
1.1.3
6 years ago
1.1.2
6 years ago
1.1.1
6 years ago
1.1.0
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago