Gathering detailed insights and metrics for @stencil/angular-output-target
Gathering detailed insights and metrics for @stencil/angular-output-target
Gathering detailed insights and metrics for @stencil/angular-output-target
Gathering detailed insights and metrics for @stencil/angular-output-target
@didomi/stencil-angular-output-target
Angular output target for @stencil/core components.
@baloise/angular-output-target
Angular output target for @stencil/core components.
@duetds/stencil-angular-output-target
Duet's fork of Angular output target for @stencil/core components.
@public-ui/stencil-angular-output-target
Angular output target for @stencil/core components.
These are output targets that can be added to Stencil for React and Angular.
npm install @stencil/angular-output-target
Typescript
Module System
Node Version
NPM Version
@stencil/react-output-target@1.2.0
Updated on Jul 10, 2025
@stencil/angular-output-target@1.1.0
Updated on Jun 27, 2025
@stencil/react-output-target@1.1.1
Updated on Jun 27, 2025
@stencil/react-output-target@1.1.0
Updated on Jun 17, 2025
@stencil/angular-output-target@1.0.0
Updated on Jun 17, 2025
@stencil/vue-output-target@0.10.8
Updated on Jun 17, 2025
TypeScript (93.3%)
SCSS (2.08%)
CSS (1.88%)
Vue (1.29%)
JavaScript (0.87%)
HTML (0.59%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
257 Stars
586 Commits
136 Forks
15 Watchers
44 Branches
56 Contributors
Updated on Jul 10, 2025
Latest Version
1.1.0
Package Id
@stencil/angular-output-target@1.1.0
Unpacked Size
112.18 kB
Size
16.66 kB
File Count
29
NPM Version
10.2.3
Node Version
20.10.0
Published on
Jun 27, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
Stencil can generate Angular component wrappers for your web components. This allows your Stencil components to be used within an Angular application. The benefits of using Stencil's component wrappers over the standard web components include:
For a detailed guide on how to add the angular output target to a project, visit: https://stenciljs.com/docs/angular.
1npm install @stencil/angular-output-target
@stencil/angular-output-target | Angular |
---|---|
0.10.2 | v18.x and lower |
1.0.0 | v19.x and above |
In your stencil.config.ts
add the following configuration to the outputTargets
section:
1import { Config } from '@stencil/core'; 2import { angularOutputTarget } from '@stencil/angular-output-target'; 3 4export const config: Config = { 5 namespace: 'demo', 6 outputTargets: [ 7 angularOutputTarget({ 8 componentCorePackage: 'component-library', 9 directivesProxyFile: '../component-library-angular/src/directives/proxies.ts', 10 directivesArrayFile: '../component-library-angular/src/directives/index.ts', 11 }), 12 { 13 type: 'dist', 14 esmLoaderPath: '../loader', 15 }, 16 ], 17};
Property | Description |
---|---|
componentCorePackage | The NPM package name of your Stencil component library. This package is used as a dependency for your Angular wrappers. |
directivesProxyFile | The output file of all the component wrappers generated by the output target. This file path should point to a location within your Angular library/project. |
directivesArrayFile | The output file of a constant of all the generated component wrapper classes. Used for easily declaring and exporting the generated components from an NgModule . This file path should point to a location within your Angular library/project. |
valueAccessorConfigs | The configuration object for how individual web components behave with Angular control value accessors. |
excludeComponents | An array of tag names to exclude from generating component wrappers for. This is helpful when have a custom framework implementation of a specific component or need to extend the base component wrapper behavior. |
outputType | Specifies the type of output to be generated. It can take one of the following values: 1. component : Generates all the component wrappers to be declared on an Angular module. This option is required for Stencil projects using the dist hydrated output.2. scam : Generates a separate Angular module for each component.3. standalone : Generates standalone component wrappers.Both scam and standalone options are compatible with the dist-custom-elements output. Note: Please choose the appropriate outputType based on your project's requirements and the desired output structure. Defaults to component . |
customElementsDir | This is the directory where the custom elements are imported from when using the Custom Elements Bundle. Defaults to the components directory. Only applies for outputType: "scam" or outputType: "standalone" . |
inlineProperties | Experimental. When true, tries to inline the properties of components. This is required to enable Angular Language Service to type-check and show jsdocs when using the components in html-templates. |
No vulnerabilities found.
No security vulnerabilities found.