UNPKG
cheetah-framework
Version:
latest (2.1.3)
legacy (1.29.4)
2.1.3
2.1.2
2.1.1
2.0.0
1.29.4
1.29.3
1.29.2
1.29.1
1.29.0
1.28.6
1.28.5
1.28.4
1.28.3
1.28.2
1.28.1
1.28.0
1.27.1
1.27.0
1.26.1
1.26.0
1.25.4
1.25.3
1.25.2
1.25.1
1.25.0
1.24.0
1.23.3
1.23.2
1.23.1
1.23.0
1.22.4
1.22.3
1.22.2
1.22.1
1.22.0
1.21.1
1.21.0
1.20.0
1.19.0
1.18.0
1.17.0
1.16.1
1.16.0
1.15.0
1.14.2
1.14.1
1.14.0
1.13.2
1.13.1
1.13.0
1.12.1
1.11.2
1.11.1
1.11.0
1.10.1
1.10.0
1.9.3
1.9.2
1.9.1
1.9.0
1.8.0
1.7.0
1.6.1
1.6.0
1.5.1
1.5.0
1.4.0
1.3.0
1.2.2
1.2.1
1.2.0
1.1.0
Cheetah Framework JS used in all our applications
bitbucket.org/imarcom/cheetah-framework
cheetah-framework
/
js
/
framework
/
modules
/
auth
/
routes
/
index.js
12 lines
(9 loc)
•
284 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
Index
from
'../pages/Index'
import
config
from
'@cheetah/config'
const
authConfig = config.
auth
export
default
[{
path
: _.
get
(authConfig,
'routes.login.path'
,
'/auth'
),
name
: _.
get
(authConfig,
'routes.login.name'
,
'login'
),
component
:
Index
,
meta
: {
auth
:
false
} }]