afc163 пре 7 година
родитељ
комит
203ea776f4
1 измењених фајлова са 27 додато и 6 уклоњено
  1. 27 6
      config/router.config.js

+ 27 - 6
config/router.config.js

@@ -33,15 +33,27 @@ module.exports = [
         icon: 'form',
         name: 'form',
         routes: [
-          { path: '/form/basic-form', name: 'basicform', component: './Forms/BasicForm' },
+          {
+            path: '/form/basic-form',
+            name: 'basicform',
+            component: './Forms/BasicForm',
+          },
           {
             path: '/form/step-form',
             name: 'stepform',
             component: './Forms/StepForm',
             hideChildren: true,
             routes: [
-              { path: '/form/step-form', name: 'stepform', redirect: '/form/step-form/info' },
-              { path: '/form/step-form/info', name: 'info', component: './Forms/StepForm/Step1' },
+              {
+                path: '/form/step-form',
+                name: 'stepform',
+                redirect: '/form/step-form/info',
+              },
+              {
+                path: '/form/step-form/info',
+                name: 'info',
+                component: './Forms/StepForm/Step1',
+              },
               {
                 path: '/form/step-form/confirm',
                 name: 'confirm',
@@ -133,7 +145,10 @@ module.exports = [
             name: 'center',
             component: './Account/Center/Center',
             routes: [
-              { path: '/account/center', redirect: '/account/center/articles' },
+              {
+                path: '/account/center',
+                redirect: '/account/center/articles',
+              },
               {
                 path: '/account/center/articles',
                 component: './Account/Center/Articles',
@@ -153,7 +168,10 @@ module.exports = [
             name: 'settings',
             component: './Account/Settings/Info',
             routes: [
-              { path: '/account/settings', redirect: '/account/settings/base' },
+              {
+                path: '/account/settings',
+                redirect: '/account/settings/base',
+              },
               {
                 path: '/account/settings/base',
                 component: './Account/Settings/BaseView',
@@ -162,7 +180,10 @@ module.exports = [
                 path: '/account/settings/security',
                 component: './Account/Settings/SecurityView',
               },
-              { path: '/account/settings/binding', component: './Account/Settings/BindingView' },
+              {
+                path: '/account/settings/binding',
+                component: './Account/Settings/BindingView',
+              },
               {
                 path: '/account/settings/notification',
                 component: './Account/Settings/NotificationView',