Mobile UI Components built on Angular
🔥 文档网站
- 65+ Reusable components
- 1kb Component average size (min+gzip)
- Extensive documentation and demos
- Support Angular14
- Support Tree Shaking
- Support Custom Theme
- Support i18n
- Support TS
- Support SSR
npm i ngx-vant -S
import { 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+.