mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Implement router dynamic route replacement logic (#116)
* Implement router dynamic route replacement logic Vue router has pretty bad dynamic route registration handlers, meaning we have to hack around replacing the full routes array in order to achieve properly matched routes * Add test coverage for replacerouter function * Replace anonymous event handlers with named HoCs for better test coverage * Add tests for module registration * Get test coverage to 100%
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<template>
|
||||
<h1>Settings</h1>
|
||||
<private-view>
|
||||
Settings
|
||||
</private-view>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
|
||||
Reference in New Issue
Block a user