How to use the shallowRef function from vue

Find comprehensive JavaScript vue.shallowRef code examples handpicked from public code repositorys.

2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
    throw new Error('Provide the "history" option when calling "createRouter()":' +
        ' https://next.router.vuejs.org/api/#history.');
const beforeGuards = useCallbacks();
const beforeResolveGuards = useCallbacks();
const afterGuards = useCallbacks();
const currentRoute = vue.shallowRef(START_LOCATION_NORMALIZED);
let pendingLocation = START_LOCATION_NORMALIZED;
// leave the scrollRestoration if no scrollBehavior is provided
if (isBrowser && options.scrollBehavior && 'scrollRestoration' in history) {
    history.scrollRestoration = 'manual';
fork icon0
star icon0
watch icon1

+ 11 other calls in file