2017-11-22 4 views
0

Liferay 용 maven으로 테마를 만들려고합니다. 는 나뿐만 아니라 테마를 만들 수 있어요하지만 난 unstyle CSS를 복사하려고하는 어떤 위치 받는다는에서 알고 싶습니다 Maven 테마 빌드 Liferay 6.2

는 ("HTML/테마/_unstyled

[INFO] --- liferay-maven-plugin:6.2.10.13:theme-merge (default) @ my-theme --- 
[INFO] Parent theme group ID com.liferay.portal 
[INFO] Parent theme artifact ID portal-web 
[INFO] Parent theme version 6.2.10.14 
[INFO] Parent theme ID _styled 
[INFO] Copying html/themes/_unstyled/templates to C:\Dev\GIT_LOCAL_REPO\intranet\test-themes\my-theme\target\my-theme\templates 
[INFO] Copying html/themes/_unstyled/css to C:\Dev\GIT_LOCAL_REPO\intranet\test-themes\my-theme\target\my-theme\css 
[INFO] Copying html/themes/_unstyled/images to C:\Dev\GIT_LOCAL_REPO\intranet\test-themes\my-theme\target\my-theme\images 
[INFO] Copying html/themes/_unstyled/js to C:\Dev\GIT_LOCAL_REPO\intranet\test-themes\my-theme\target\my-theme\js 
[INFO] Copying html/themes/_styled/css to C:\Dev\GIT_LOCAL_REPO\intranet\test-themes\my-theme\target\my-theme\css 
[INFO] Copying html/themes/_styled/images to C:\Dev\GIT_LOCAL_REPO\intranet\test-themes\my-theme\target\my-theme\images 
더에 물건을 아래에 알고 싶습니다/css ").

"html/themes/_unstyled/css"경로는 어디에 속합니까?

테마를 개발할 때 기본 테마로 _style을 사용하고 있습니다.

내 서버의 파일을 사용하지 않고 내 로컬 Maven 저장소에있는 전쟁도 사용하지 않습니다.

답변

1

6.2를 사용하고있는 것으로 나타났습니다.

6.2 플러그인에는 실제로 Liferay 번들을 다운로드하거나 거기에서 파일을 구성하고로드하는 로컬 접근 방식을 사용하는 다른 접근 방식이 있습니다.

편집 : 이것은 Liferay 7 용입니다. Liferay에는 _styled 및 _unstield라는 기본 테마가 포함되어 있습니다. _unstiled는 FTL 템플릿을 포함하지만 스타일을 기반으로하는 기본 스타일 (css)을 제공하지 않습니다.

_styled를 기본으로 사용하는 경우 종속성은 스타일 및 스타일이 지정되지 않은 상태로로드되며 로그에서 볼 수있는대로 적용됩니다. 파일은 단지 모듈 https://mvnrepository.com/artifact/com.liferay/com.liferay.frontend.theme.unstyledhttps://mvnrepository.com/artifact/com.liferay/com.liferay.frontend.theme.styled 또는 NPM 모듈 https://www.npmjs.com/package/liferay-frontend-theme-unstyledhttps://www.npmjs.com/package/liferay-frontend-theme-styled

에 보관해야합니다 나는 받는다는에 사용되는 하나 확실하지 않다. Gradle/npm build는 npn 패키지를 사용합니다.

관련 문제