Is there a way to remove or override base js files asseted. i want to disable some file thanks
신고된 질문입니다
1
회신
10287
화면
Yes, you can just inherit web.assets_backend and xpath target what want to remove.
Like this :
<template id="assets_common" inherit_id="web.assets_common">
<xpath expr="script[@src='/password_security/static/src/js/password_gauge.js']" position="replace"/>
<xpath expr="script[@src='/password_security/static/lib/zxcvbn/zxcvbn.min.js']" position="replace"/>
</template>
thank you!
| 관련 게시물 | 답글 | 화면 | 활동 | |
|---|---|---|---|---|
|
|
1
6월 23
|
4005 | ||
|
|
1
5월 23
|
3867 | ||
|
|
1
10월 22
|
6262 | ||
|
|
2
7월 22
|
5493 | ||
|
|
0
5월 20
|
4678 |