Extjs 6.5.2를 사용하여 hello world 샘플을 시험해보고 싶다. 난 내가 발견 app.js
ExtJs 6은 항상 ext/modern/modern/src/layout/container/Column.js를 보여준다. net :: ERR_FILE_NOT_FOUND
Ext.application({
name: 'MyApp',
extend: 'MyApp.Application',
requires: [
'MyApp.*',
'Ext.panel.Panel',
'Ext.layout.container.Column'
]
});
에서 패키지를 가져 오려고 할 경우에도
ext/modern/modern/src/layout/container/Column.js net::ERR_FILE_NOT_FOUND
에 대해 브라우저 콘솔이 발생합니다
var containerPanel = Ext.create('Ext.panel.Panel', {
renderTo: 'app-div1',
width: 400,
height: 200,
title: 'Container Panel',
layout: 'column',
suspendLayout: true // Suspend automatic layouts while we do several different things that could trigger a layout on their own
});
containerPanel.add({
xtype: 'panel',
title: 'Child Panel 1',
height: 100,
columnWidth: 0.5
});
containerPanel.add({
xtype: 'panel',
title: 'Child Panel 2',
height: 100,
columnWidth: 0.5
});
containerPanel.suspendLayout = false;
containerPanel.updateLayout();
다음 코드를 에러를 실행하려고하면 ext-6.5.2-trial.zip
은 \ext\modern\modern\src\layout
에 container
폴더를 포함하지 않았습니다.
Ext.panel.Panel
구성 요소를 사용하기 전에 어떤 단계를 놓치지 않을 수 있습니다. 감사합니다.
현대 툴킷을 사용하고 계십니까? –
이것은 귀하의 코드와 관련이 없습니다. 오류는'Column.js net :: * ERR_FILE_NOT_FOUND *' – moon
@ Njdhv입니다. 아니, 데스크톱 브라우저에서 시험해보고 싶습니다. – ksw87