Is there a way to remove or override base js files asseted. i want to disable some file thanks
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
10289
มุมมอง
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!
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
|
1
มิ.ย. 23
|
4007 | ||
|
|
1
พ.ค. 23
|
3869 | ||
|
|
1
ต.ค. 22
|
6263 | ||
|
|
2
ก.ค. 22
|
5495 | ||
|
|
0
พ.ค. 20
|
4678 |