Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
c8b910d7
Commit
c8b910d7
authored
May 15, 2019
by
陈帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set defult router
parent
7e187a90
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
29 deletions
+1
-29
config/config.ts
config/config.ts
+1
-6
functions/package.json
functions/package.json
+0
-23
No files found.
config/config.ts
View file @
c8b910d7
...
...
@@ -82,11 +82,6 @@ export default {
devtool
:
ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION
?
'
source-map
'
:
false
,
// 路由配置
routes
:
[
{
path
:
'
/user
'
,
components
:
[
'
../layouts/UserLayout
'
],
routes
:
[],
},
{
path
:
'
/
'
,
component
:
'
../layouts/BasicLayout
'
,
...
...
@@ -94,7 +89,7 @@ export default {
authority
:
[
'
admin
'
,
'
user
'
],
routes
:
[
{
path
:
'
/
analysis
'
,
path
:
'
/
'
,
name
:
'
Analysis
'
,
icon
:
'
dashboard
'
,
component
:
'
./analysis
'
,
...
...
functions/package.json
deleted
100644 → 0
View file @
7e187a90
{
"name"
:
"functions"
,
"description"
:
"Cloud Functions for Firebase"
,
"scripts"
:
{
"serve"
:
"firebase serve --only functions"
,
"shell"
:
"firebase functions:shell"
,
"start"
:
"npm run shell"
,
"deploy"
:
"npm run mock && firebase deploy --only functions"
,
"logs"
:
"firebase functions:log"
,
"mock"
:
"node ../scripts/generateMock.js"
},
"dependencies"
:
{
"@babel/runtime"
:
"^7.0.0"
,
"body-parser"
:
"^1.18.3"
,
"express"
:
"^4.16.4"
,
"firebase-admin"
:
"^6.4.0"
,
"firebase-functions"
:
"^2.1.0"
,
"mockjs"
:
"^1.0.1-beta3"
,
"moment"
:
"^2.22.2"
,
"path-to-regexp"
:
"^3.0.0"
},
"private"
:
true
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment