Sitronik / v-disable-swipe-back

This vue 3 directive for ionic framework, disables switching the previous route if the user makes a swipe on iOS device
12 stars 2 forks source link

require() breaks ionic app #1

Open dev04mst opened 10 months ago

dev04mst commented 10 months ago

Unfortunately require() is no longer supported and it can break ionic apps when built for production. Please replace it with a proper import declaration. It woluld be great if you can add typescript support as well.

Thank you!!

Sitronik commented 10 months ago

Hello, You can make PR, then I create npm package with new version