import wixUsers from 'wix-users';
import wixLocation from 'wix-location';
$sw.onReady(function(){
$w('#register').onClick(function (){
let email = $w('#email').value;
let password = $w('#password').value;
wixUsers.register(email,password)
.then(() = > {
wixLocation.to('/testing');
})
})
})
top of page
bottom of page