How to use the @nextcloud/router.generateUrl function in @nextcloud/router

To help you get started, we’ve selected a few @nextcloud/router examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nextcloud / firstrunwizard / src / App.vue View on Github external
async loadStaticSlides() {
			try {
				const response = await axios.get(generateUrl('/apps/firstrunwizard/wizard'))
				this.slides.push(...response.data)
			} catch (e) {
				console.error('Failed to load slides')
			}
		},
		async open(withIntro = true) {
github nextcloud / firstrunwizard / src / App.vue View on Github external
close() {
			this.showModal = false
			axios.delete(generateUrl('/apps/firstrunwizard/wizard'))
		},
		next() {

@nextcloud/router

[![npm](https://img.shields.io/npm/v/@nextcloud/router?style=for-the-badge)](https://www.npmjs.com/package/@nextcloud/router) [![Code coverage](https://img.shields.io/codecov/c/github/nextcloud-libraries/nextcloud-router/master?style=for-the-badge)](https

GPL-3.0
Latest version published 2 months ago

Package Health Score

81 / 100
Full package analysis