Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TemplateURL and StyleURL not loaded for couple of component #69

Open
munavargit opened this issue Jun 19, 2017 · 0 comments
Open

TemplateURL and StyleURL not loaded for couple of component #69

munavargit opened this issue Jun 19, 2017 · 0 comments

Comments

@munavargit
Copy link

Hi,

It bit strange, in the same project, it has two different behavior.

templateUrls and styleUrls of couple of component left as URL not replaced with webpack., it works for rest of the component in the same project,

Eg, not working:

webpack_require.i(WEBPACK_IMPORTED_MODULE_1__angular_core["Component"])({
selector: 'barcode',
providers: [WEBPACK_IMPORTED_MODULE_5__Services_Order_OrderService["a" /* OrderService /], WEBPACK_IMPORTED_MODULE_6__login_UserService["a" / UserService /], WEBPACK_IMPORTED_MODULE_7__xxxxxx_services_Shared_SharedService["a" / SharedService */]],
templateUrl: '../../Views/Order/Barcode.html',
styleUrls: ['../../shared/css/xxxx/OrderEntry.css', '../../shared/css/xxxx/MainPage.css', '../../shared/css/xxxx/Common.css']
}),

Eg. of working:

webpack_require.i(WEBPACK_IMPORTED_MODULE_1__angular_core["Component"])({
selector: 'orderdetail',
providers: [WEBPACK_IMPORTED_MODULE_10__Services_Order_OrderService["a" /* OrderService /], WEBPACK_IMPORTED_MODULE_11__Services_MasterData_ClinicianService["a" / CliniciansService /], WEBPACK_IMPORTED_MODULE_12__Services_MasterData_LocationDefinitionService["a" / LocationDefinitionService /], WEBPACK_IMPORTED_MODULE_13__Services_xxxxxx_ProfileDefinitionService["a" / ProfileDefinitionService /], WEBPACK_IMPORTED_MODULE_14__Services_Shared_SharedMService["a" / SharedMService /], WEBPACK_IMPORTED_MODULE_9__shared_Services_CommonService["a" / CommonService /], WEBPACK_IMPORTED_MODULE_15__Services_Shared_SharedService["a" / SharedService /], WEBPACK_IMPORTED_MODULE_20__Components_Order_BarcodeComponent["a" / Barcode /], WEBPACK_IMPORTED_MODULE_16__Services_Patient_xxxxxService["a" / xxxxService */]],
template: webpack_require(502),
styles: [webpack_require(40)]
})

Not sure, what Am I missing? Any help would be appreciated.

Best Regards,
Munavar Hussain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant