Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
visualcloud
/
Vmatrix-client-taro
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
349fa2ff
authored
Aug 12, 2019
by
lirandong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化 路径
parent
45ac19a1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
3 deletions
+19
-3
config/index.js
+8
-0
src/conpoments/index.tsx
+0
-0
src/pages/home/tempaltes/index.tsx
+1
-1
tsconfig.json
+10
-2
No files found.
config/index.js
View file @
349fa2ff
...
...
@@ -9,6 +9,14 @@ const config = {
},
sourceRoot
:
'src'
,
outputRoot
:
'dist'
,
alias
:
{
'@/'
:
path
.
resolve
(
__dirname
,
'..'
,
'src'
),
'@api/'
:
path
.
resolve
(
__dirname
,
'..'
,
'src/api'
),
'@pages/'
:
path
.
resolve
(
__dirname
,
'..'
,
'src/pages'
),
'@actions/'
:
path
.
resolve
(
__dirname
,
'..'
,
'src/actions'
),
'@constants/'
:
path
.
resolve
(
__dirname
,
'..'
,
'src/constants'
),
'@conpoments/'
:
path
.
resolve
(
__dirname
,
'..'
,
'src/conpoments'
),
},
plugins
:
{
babel
:
{
sourceMap
:
true
,
...
...
src/conpoments/index.tsx
0 → 100644
View file @
349fa2ff
src/pages/home/tempaltes/index.tsx
View file @
349fa2ff
...
...
@@ -3,7 +3,7 @@ import TempItem from './temp_item/temp_item'
import
Taro
,
{
Component
,
Config
}
from
'@tarojs/taro'
import
{
View
,
Text
,
Input
,
ScrollView
,
Image
}
from
'@tarojs/components'
import
'./index.less'
import
api
from
'
../../../api
'
import
api
from
'
@api/index
'
type
PageStateProps
=
{}
...
...
tsconfig.json
View file @
349fa2ff
...
...
@@ -13,13 +13,21 @@
"noUnusedParameters"
:
true
,
"strictNullChecks"
:
true
,
"sourceMap"
:
true
,
"baseUrl"
:
"."
,
"baseUrl"
:
".
/src
"
,
"rootDir"
:
"."
,
"jsx"
:
"preserve"
,
"jsxFactory"
:
"Taro.createElement"
,
"allowJs"
:
true
,
"resolveJsonModule"
:
true
,
"typeRoots"
:
[
"node_modules/@types"
]
"typeRoots"
:
[
"node_modules/@types"
],
"paths"
:
{
"@/*"
:
[
"*"
],
"@api/*"
:
[
"api/*"
],
"@pages/*"
:
[
"pages/*"
],
"@actions/*"
:
[
"actions/*"
],
"@constants/*"
:
[
"constants/*"
],
"@conpoments/*"
:
[
"conpoments/*"
]
}
},
"exclude"
:
[
"node_modules"
,
"dist"
],
"compileOnSave"
:
false
,
...
...
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