✨ Implements router history mode, for cleaner URLs
This commit is contained in:
@@ -65,8 +65,12 @@ const makeMetaTags = (defaultTitle) => ({
|
||||
metaTags: metaTagData,
|
||||
});
|
||||
|
||||
/* Routing mode, can be either 'hash', 'history' or 'abstract' */
|
||||
const mode = 'history';
|
||||
|
||||
/* List of all routes, props, components and metadata */
|
||||
const router = new Router({
|
||||
mode,
|
||||
routes: [
|
||||
{ // The default view can be customized by the user
|
||||
path: '/',
|
||||
|
||||
Reference in New Issue
Block a user