Sencha ExtJS 및 compass compile
및 sencha splice
명령을 사용하여 사용자 정의 테마를 만들었습니다.잘못된 이미지 폴더를 가리키는 ExtJS의 사용자 테마
/ext-4.1.0 -- This is where the stock SDK resides
/resources -- copied from the SDK template, as per the instructions
/resources/sass -- This is where my SASS and confif.rb file reside
/resources/css -- This is where compass compiles my my-ext-theme.css
/resources/images/foo/bar.gif -- This is where sencha splice creates my GIFs.
문제는, 새로 컴파일 /resources/css/my-ext-theme.css
이 ../../ext-4.1.0/resources/themes/images/default/foo/bar.gif
같은 상대 경로와 모든 이미지에 언급하고 다음과 같이
나는 폴더 구조를 가지고있다.
내 사용자 정의 이미지 대신 스톡 이미지 폴더를 참조하는 사용자 정의 테마가 컴파일되는 이유는 무엇입니까? 나는 사용자 정의 테마 파일 가능하다면 내 ext-4.1.0
폴더를 오염 싶지 않아
$ext_path = "../../ext-4.1.0"
sass_path = File.dirname(__FILE__)
css_path = File.join(sass_path, "..", "css")
load File.join(File.dirname(__FILE__), $ext_path, 'resources', 'themes')
: 여기
내config.rb
파일의 주요 매개 변수입니다.