create-umi 4.0.0-canary.20220615.1 → 4.0.0-canary.20220615.2
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/dist/index.js +1 -0
- package/package.json +2 -2
- package/templates/vue-app/.gitignore.tpl +11 -0
- package/templates/vue-app/.npmrc.tpl +1 -0
- package/templates/vue-app/.umirc.ts.tpl +4 -0
- package/templates/vue-app/package.json.tpl +17 -0
- package/templates/vue-app/src/assets/yay.jpg +0 -0
- package/templates/vue-app/src/layouts/index.vue +28 -0
- package/templates/vue-app/src/pages/docs.vue +5 -0
- package/templates/vue-app/src/pages/index.vue +11 -0
- package/templates/vue-app/tsconfig.json.tpl +6 -0
- package/templates/vue-app/typings.d.ts +1 -0
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-umi",
|
|
3
|
-
"version": "4.0.0-canary.20220615.
|
|
3
|
+
"version": "4.0.0-canary.20220615.2",
|
|
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": "umi-scripts jest-turbo"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@umijs/utils": "4.0.0-canary.20220615.
|
|
28
|
+
"@umijs/utils": "4.0.0-canary.20220615.2"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
registry={{{ registry }}}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"private": true,
|
|
3
|
+
"scripts": {
|
|
4
|
+
"dev": "umi dev",
|
|
5
|
+
"build": "umi build",
|
|
6
|
+
"postinstall": "umi setup",
|
|
7
|
+
"start": "npm run dev"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"vue": "^3.2.36",
|
|
11
|
+
"umi": "^{{{ version }}}"
|
|
12
|
+
},
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"typescript": "^4.1.2",
|
|
15
|
+
"@umijs/preset-vue": "^{{{ version }}}"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="navs">
|
|
3
|
+
<ul>
|
|
4
|
+
<li>
|
|
5
|
+
<router-link to="/">Home</router-link>
|
|
6
|
+
</li>
|
|
7
|
+
<li>
|
|
8
|
+
<router-link to="/docs">Docs</router-link>
|
|
9
|
+
</li>
|
|
10
|
+
<li>
|
|
11
|
+
<a href="https://github.com/umijs/umi">Github</a>
|
|
12
|
+
</li>
|
|
13
|
+
</ul>
|
|
14
|
+
<router-view></router-view>
|
|
15
|
+
</div>
|
|
16
|
+
</template>
|
|
17
|
+
<style lang="less">
|
|
18
|
+
.navs {
|
|
19
|
+
ul {
|
|
20
|
+
padding: 0;
|
|
21
|
+
list-style: none;
|
|
22
|
+
display: flex;
|
|
23
|
+
}
|
|
24
|
+
li {
|
|
25
|
+
margin-right: 1em;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
</style>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import 'umi/typings';
|