ngx vant
2.0.2
Mobile UI Components built on Angular
文档网站
npm i ngx-vant -Simport { BrowserModule } from "@angular/platform-browser";
import { NgModule } from "@angular/core";
import { AppComponent } from "./app.component";
import { ButtonModule } from "ngx-vant/button";
import { Vant18nModule, VANT_I18N } from "ngx-vant/i18n";
@NgModule({
declarations: [AppComponent],
imports: [BrowserModule, AppRoutingModule, ButtonModule],
providers: [{ provide: VANT_I18N, useValue: zh_CN }],
bootstrap: [AppComponent],
})
export class AppModule {}See more in Quickstart.
Please make sure to read the Contributing Guide before making a pull request.
Modern browsers and Android 4.0+, iOS 8.0+.
MIT