0.0.32 • Published 5 months ago

mayiwen_angular v0.0.32

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

address

组件在npmjs.com   组件在github.com

how to use it

  1. 在html中添加data-myw-theme,主要是组件是支持黑白主题的,必须给一个默认的主题 <html lang="en" data-myw-theme="white">
  2. npm i mayiwen_angular
  3. 在 AppModule 中 引入 MywModule
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { AppComponent } from './app.component';
import { MywModule } from 'mayiwen_angular';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    MywModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
  1. 在html中 app.component.html 添加 <myw></myw> 可以看到使用范例 具体使用因暂时没有文档,可以参照 https://github.com/mayiwen/mayiwen_angular

angular about

This project was generated with Angular CLI version 16.2.4.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

0.0.32

5 months ago

0.0.24

6 months ago

0.0.25

6 months ago

0.0.30

6 months ago

0.0.31

6 months ago

0.0.26

6 months ago

0.0.27

6 months ago

0.0.28

6 months ago

0.0.29

6 months ago

0.0.23

7 months ago

0.0.22

7 months ago

0.0.21

7 months ago

0.0.20

7 months ago

0.0.19

7 months ago

0.0.18

7 months ago

0.0.17

7 months ago

0.0.16

7 months ago

0.0.15

7 months ago

0.0.14

7 months ago

0.0.13

7 months ago

0.0.12

7 months ago

0.0.11

7 months ago

0.0.10

7 months ago

0.0.9

7 months ago

0.0.8

7 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

8 months ago

0.0.1

8 months ago

0.0.0

8 months ago