Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taro-test
Project
Project
Details
Activity
Releases
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
赵思思 Chris Zhao
taro-test
Commits
0f8f20aa
You need to sign in or sign up before continuing.
Commit
0f8f20aa
authored
Mar 20, 2024
by
ChrisZhao 赵思思
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Init Commit
parent
f114c4e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
index.rn.tsx
src/pages/index.rn.tsx
+16
-0
index.tsx
src/pages/index.tsx
+1
-1
No files found.
src/pages/index.rn.tsx
0 → 100644
View file @
0f8f20aa
import
{
View
,
Text
}
from
'@tarojs/components'
import
{
useLoad
}
from
'@tarojs/taro'
import
'./index.scss'
export
default
function
Index
()
{
useLoad
(()
=>
{
console
.
log
(
'Page loaded.'
)
})
return
(
<
View
className=
'index'
>
<
Text
>
Hello React Native!
</
Text
>
</
View
>
)
}
src/pages/index.tsx
View file @
0f8f20aa
...
...
@@ -10,7 +10,7 @@ export default function Index() {
return
(
<
View
className=
'index'
>
<
Text
>
Hello
world
!
</
Text
>
<
Text
>
Hello
WeApp
!
</
Text
>
</
View
>
)
}
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