laravel-elixir-webpack-ex | Laravel elixir webpack extension | Awesome List library
kandi X-RAY | laravel-elixir-webpack-ex Summary
kandi X-RAY | laravel-elixir-webpack-ex Summary
Laravel elixir webpack extension
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of laravel-elixir-webpack-ex
laravel-elixir-webpack-ex Key Features
laravel-elixir-webpack-ex Examples and Code Snippets
Community Discussions
Trending Discussions on laravel-elixir-webpack-ex
QUESTION
I am using webpack to compile angular, but there seems to be an issue with compiling class definitions. The classes that I declare and export in modules are not available without redeclaring them in components.
Example:
I need to use BasePageComponent on every PageComponent under pages.module.ts
pages.module.ts
...ANSWER
Answered 2017-Jan-09 at 14:44I think there are in play two diferent concepts:
- Typescript transpiler who needs to perform the code checking.
- Angular compiler.
With @NgModule you're telling Angular's compiler who "knows" about that component or provide that service. But you still need to import the file for having access to the code itself.
I hope I have helped you, best regards.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install laravel-elixir-webpack-ex
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page