docs(core): add relative path information to component metadata (#27962)
Adds the information that the templateUrl and styleUrls options supports only relative Urls. Adds more information about relative paths and absolute URLs in project metadata. PR Close #27962
This commit is contained in:
parent
41e68f7a7a
commit
eeadb37b19
|
@ -482,8 +482,8 @@ export interface Component extends Directive {
|
||||||
moduleId?: string;
|
moduleId?: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The URL of a template file for an Angular component. If provided,
|
* The relative path or absolute URL of a template file for an Angular component.
|
||||||
* do not supply an inline template using `template`.
|
* If provided, do not supply an inline template using `template`.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
templateUrl?: string;
|
templateUrl?: string;
|
||||||
|
@ -496,7 +496,7 @@ export interface Component extends Directive {
|
||||||
template?: string;
|
template?: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* One or more URLs for files containing CSS stylesheets to use
|
* One or more relative paths or absolute URLs for files containing CSS stylesheets to use
|
||||||
* in this component.
|
* in this component.
|
||||||
*/
|
*/
|
||||||
styleUrls?: string[];
|
styleUrls?: string[];
|
||||||
|
|
Loading…
Reference in New Issue