2.0.19 • Published 2 years ago

@bnqkl/web-component-angular v2.0.19

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Bnqkl Web-Component for Angular

该项目的大部分代码是由主项目自动导出,具体变动详见 CHANGELOG

主项目是一个纯 Web Component 项目,可以与当前的任何 Web 项目进行搭配使用,详见 core project

如何使用 How To Use

  1. 在你的 Angular 项目中安装这两个依赖包

    # run npm install / yarn add / pnpm install in your angular project
    cd $YOUR_PROJECT
    # install both
    npm install @bnqkl/web-component-angular @bnqkl/web-component
  2. 在你的 angular.json 中配置资源文件夹

    projects/$YOUR_PROJECT/architect/build/assets

    {
      "glob": "*",
      "input": "node_modules/@bnqkl/web-component/dist/bnqkl-web-component/assets",
      "output": "assets/bnqkl-web-component"
    }
  3. 在你的 Angular 项目中引入它,并配置它:

    app.module.ts

    import { BnWebComponentModule } from "@bnqkl/web-component-angular";
    @NgModule({
      //...
      imports: [
        //...
        BnWebComponentModule,
      ],
      //...
    })
    export class AppModule {
      //...
    }

    app.component.html

    <bn-config-util assetPath="./assets/bnqkl-web-component/"></bn-config-util>
2.0.19

2 years ago

2.0.18

2 years ago

2.0.17

2 years ago

2.0.16

2 years ago

2.0.15

2 years ago

2.0.14

2 years ago

2.0.13

2 years ago

2.0.12

2 years ago

2.0.11

2 years ago

2.0.10

2 years ago

2.0.9

2 years ago

2.0.8

2 years ago

2.0.7

2 years ago

2.0.6

2 years ago

2.0.5

2 years ago

2.0.1

2 years ago

1.1.2

2 years ago

1.1.0

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago