Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
H
huamu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郭铭瑶
huamu
Commits
4c8b395f
Commit
4c8b395f
authored
Sep 22, 2021
by
lihaihan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉类型检查用于发布
parent
24af1c92
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
package.json
package.json
+1
-1
util.ts
src/components/MyComponent/util.ts
+1
-1
tsconfig.json
tsconfig.json
+1
-2
No files found.
package.json
View file @
4c8b395f
...
...
@@ -8,7 +8,7 @@
"scripts"
:
{
"dev"
:
"vite"
,
"start"
:
"npm run dev"
,
"build"
:
"v
ue-tsc --noEmit && v
ite build --mode production"
,
"build"
:
"vite build --mode production"
,
"build:sit"
:
"vue-tsc --noEmit && vite build --mode sit"
,
"serve"
:
"vite preview"
},
...
...
src/components/MyComponent/util.ts
View file @
4c8b395f
import
{
App
,
Plugin
}
from
'vue'
import
dayjs
from
'dayjs'
import
ch
from
'dayjs/locale/zh-cn'
import
LocalizedFormat
from
'dayjs/plugin/LocalizedFormat'
import
LocalizedFormat
from
'dayjs/plugin/LocalizedFormat
.js
'
dayjs
.
extend
(
LocalizedFormat
)
dayjs
.
locale
(
ch
)
...
...
tsconfig.json
View file @
4c8b395f
...
...
@@ -9,7 +9,6 @@
"jsx"
:
"preserve"
,
"sourceMap"
:
true
,
"baseUrl"
:
"."
,
"allowSyntheticDefaultImports"
:
true
,
"lib"
:
[
"esnext"
,
"dom"
],
"noImplicitAny"
:
false
,
"paths"
:
{
...
...
@@ -17,6 +16,6 @@
"@images/*"
:
[
"src/assets/images/*"
]
}
},
"include"
:
[
"src/**/*.ts"
,
"src/**/*.d.ts"
,
"src/**/*.tsx"
,
"src/**/*.vue"
,
"node_modules/dayjs"
],
"include"
:
[
"src/**/*.ts"
,
"src/**/*.d.ts"
,
"src/**/*.tsx"
,
"src/**/*.vue"
],
"exclude"
:
[
"node_modules"
,
"dist"
,
"public"
]
}
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