I tried to override a vendor file. The path of the original file is:
vendor/amasty/module-extra-fee/view/frontend/web/template/fee/item/checkbox.html
My new file is located at:
app/design/frontend/Amasty/JetTheme_majestic/Amasty_ExtraFee/web/template/fee/item/checkbox.html
However, it is still using the vendor file. I also added the following in app/design/frontend/Amasty/JetTheme_majestic/requirejs-config.js
this is the content
var config = {
map: {
'*': {
'Amasty_ExtraFee/template/fee/item/checkbox.html':
'Amasty_JetTheme_majestic/Amasty_ExtraFee/template/fee/item/checkbox.html'
}
}
};