create-umi 4.0.0-canary.20220325.1 → 4.0.0-rc.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-umi",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-rc.11",
|
|
4
4
|
"description": "create-umi",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi-next/tree/master/packages/create-umi#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi-next/issues",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"test": "jest -c ../../jest.turbo.config.ts"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@umijs/utils": "4.0.0-
|
|
28
|
+
"@umijs/utils": "4.0.0-rc.11"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import yayJpg from '../assets/yay.jpg';
|
|
2
3
|
|
|
3
4
|
export default function HomePage() {
|
|
4
5
|
return (
|
|
5
6
|
<div>
|
|
6
7
|
<h2>Yay! Welcome to umi!</h2>
|
|
7
8
|
<p>
|
|
8
|
-
<img src={
|
|
9
|
+
<img src={yayJpg} width="388" />
|
|
9
10
|
</p>
|
|
10
11
|
<p>
|
|
11
12
|
To get started, edit <code>pages/index.tsx</code> and save to reload.
|