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
1f9681b8
authored
Aug 12, 2019
by
lirandong
Browse files
Options
Browse Files
Download
Plain Diff
merge develop
parents
fa424882
349fa2ff
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
5 deletions
+21
-5
config/index.js
+8
-0
src/conpoments/index.tsx
+0
-0
src/pages/home/tempaltes/index.tsx
+3
-3
tsconfig.json
+10
-2
No files found.
config/index.js
View file @
1f9681b8
...
...
@@ -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 @
1f9681b8
src/pages/home/tempaltes/index.tsx
View file @
1f9681b8
import
{
ComponentClass
}
from
'react'
import
TempItem
from
'./temp_item'
import
Taro
,
{
Component
,
Config
}
from
'@tarojs/taro'
import
PageView
from
'
../../..
/constants/components/pageView'
import
PageView
from
'
@
/constants/components/pageView'
import
{
View
,
Text
,
Input
,
ScrollView
,
Image
}
from
'@tarojs/components'
import
'./less/index.less'
import
api
from
'
../../..
/api'
import
token
from
'
../../..
/constants/token'
import
api
from
'
@
/api'
import
token
from
'
@
/constants/token'
type
PageStateProps
=
{}
...
...
tsconfig.json
View file @
1f9681b8
...
...
@@ -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