Skip to content

yutao331763646/ngx-vant

Repository files navigation

logo

Ngx-Vant

Mobile UI Components built on Angular

🔥 文档网站    


Features

  • 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

Install

npm i ngx-vant -S

Quickstart

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.

Contribution

Please make sure to read the Contributing Guide before making a pull request.

Browser Support

Modern browsers and Android 4.0+, iOS 8.0+.

Links

LICENSE

MIT