How to upgarde my Extjs application from 4 to 6?

2019-01-27 04:14发布

Now in my application i'm using Extjs 4 and i want to migrate it to Extjs 6 to be responsive design . But my application is not created by Sencha CMD then i can not use this tool for upgrading .is it possible to uppgrade by only changing this resources in my HTML views:

<link rel="stylesheet" href="/css/ext-all.css"     />
<script type="text/javascript" src="/js/ext-4.1.1a/ext-all.js"  ></script>

3条回答
Bombasti
2楼-- · 2019-01-27 04:40

You can avoid using CMD tool and link the full library sources manually, if that's what you are asking. It probably won't work out of the box for an existing Ext4 app if there were some breaking changes:

<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

    <link rel="stylesheet" type="text/css" href="/ext/classic/theme-triton/resources/theme-triton-all.css">
    <link rel="stylesheet" type="text/css" href="/ext/packages/charts/classic/triton/resources/charts-all.css">
    <link rel="stylesheet" type="text/css" href="/ext/packages/ux/classic/triton/resources/ux-all.css">

    <script type="text/javascript" src="/ext/ext-all.js"></script>
    <script type="text/javascript" src="/ext/classic/theme-triton/theme-triton.js"></script>
    <script type="text/javascript" src="/ext/packages/charts/classic/charts.js"></script>
    <script type="text/javascript" src="/ext/packages/ux/classic/ux.js"></script>
</head>
查看更多
干净又极端
3楼-- · 2019-01-27 04:43

If you have not yet been able to resolve the issue, you could visit the link: Upgrade Tips

This links contains the tips that I used to upgrade my application extjs 4.2 to extjs 6.

查看更多
一纸荒年 Trace。
4楼-- · 2019-01-27 04:58

Please visit this video, hope you will learn how to upgrade.

https://www.youtube.com/watch?v=_dWGP13S0vs

查看更多
登录 后发表回答