dxo-ui-shared

0.0.17 • Public • Published

DCX UI Shared

Install

npm i dxo-shared-ui

Configure

You will need to add a couple of configurations to your Angular application's angular.json file. Locate the application's config, and update its architect.build.options like so:

"options": {
  "styles": [
    "src/styles.scss",
    "node_modules/dxo-shared-ui/css/core.scss"
  ],
  "stylePreprocessorOptions": {
    "includePaths": [
      "node_modules/dxo-shared-ui/css"
    ]
  }
}

Import

To use the SymSharedModule, you will need to import it into your Angular application:

import { SymSharedModule } from 'dxo-shared-ui';

@NgModule({
  declarations: [
    AppComponent,
  ],
  imports: [
    BrowserModule,
    SymSharedModule,
  ],
  bootstrap: [AppComponent],
})

If you need the reference to a specfic component for use with something like Storybook, you can import the component directly from the dxo-shared-ui package:

import { ButtonComponent } from 'dxo-shared-ui';

Readme

Keywords

none

Package Sidebar

Install

npm i dxo-ui-shared

Weekly Downloads

1

Version

0.0.17

License

none

Unpacked Size

197 kB

Total Files

111

Last publish

Collaborators

  • tjb1019