-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a02962
commit 313f18e
Showing
43 changed files
with
1,540 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules | ||
dist | ||
.DS_Store | ||
.mini-umi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "vue3", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"dev": "mumi dev", | ||
"build": "mumi build", | ||
"preview": "mumi preview" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"dependencies": { | ||
"es-module-lexer": "^1.1.0", | ||
"esbuild": "^0.15.16", | ||
"vue": "^3.2.45", | ||
"vue-router": "^4.1.6" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<template> | ||
<div class="content"> | ||
<div class="titles"> | ||
<div class="title" :style="{flexWrap:'nowrap',marginTop:'-20px'}"> | ||
<a href="/page-a">点我跳转 page-a 路由</a> | ||
<br/> | ||
<a href="/test/testpage">点我跳转 test/test-page 路由</a> | ||
</div> | ||
<div class="title"> | ||
<img src="../assets/mini-umi.jpg" alt="" @click="go"> | ||
</div> | ||
<div class="title"> | ||
<a href="https://github.com/BoyYangzai/mini-umi" target="_blank" id="a">mini-umi</a> | ||
</div> | ||
<div class="title">基于Umi微内核架构搭建的 可插拔 渐进式框架 </div> | ||
<div>本框架采用 mini-umi + preset-Vue3.2 + Vite</div> | ||
</div> | ||
<div class="titles"> | ||
<div class="title">To be continued...</div> | ||
<div class="title">mini-umi + preset-React + preset-MFSU</div> | ||
<div class="title">mini-umi + preset-qinkun</div> | ||
<div class="title">father dumi</div> | ||
</div> | ||
|
||
</div> | ||
</template> | ||
<script setup lang="ts"> | ||
const go = () => { | ||
window.open('https://github.com/BoyYangzai/mini-umi') | ||
} | ||
</script> | ||
|
||
<style> | ||
*{ | ||
padding: 0; | ||
margin: 0; | ||
} | ||
.titles{ | ||
display: inline; | ||
} | ||
.title{ | ||
width: 100%; | ||
text-align: center; | ||
} | ||
.content { | ||
width: 100vw; | ||
height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-evenly; | ||
align-items: center; | ||
flex-wrap: wrap; | ||
} | ||
img{ | ||
width: 100px; | ||
} | ||
#a{ | ||
font-size: 20px; | ||
color: orange; | ||
text-decoration: none; | ||
} | ||
a{ | ||
display: inline; | ||
text-decoration: none; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<template> | ||
<div class="content"> | ||
|
||
<div class="titles"> | ||
<div class="title"> | ||
我是 /page-a 路由 😊 | ||
</div> | ||
<div class="title"> | ||
<img src="../assets/mini-umi.jpg" alt="" @click="go"> | ||
</div> | ||
<div class="title"> | ||
<a href="https://github.com/BoyYangzai/mini-umi" target="_blank">mini-umi</a> | ||
</div> | ||
<div class="title">基于Umi微内核架构搭建的 可插拔 渐进式框架 </div> | ||
<div>本框架采用 mini-umi + preset-Vue3.2 + Vite</div> | ||
</div> | ||
<div class="titles"> | ||
<div class="title">To be continued...</div> | ||
<div class="title">mini-umi + preset-React + preset-MFSU</div> | ||
<div class="title">mini-umi + preset-qinkun</div> | ||
<div class="title">father dumi</div> | ||
</div> | ||
|
||
</div> | ||
</template> | ||
<script setup lang="ts"> | ||
import {RouterView} from 'vue-router' | ||
const go = () => { | ||
window.open('https://github.com/BoyYangzai/mini-umi') | ||
} | ||
</script> | ||
|
||
<style> | ||
* { | ||
padding: 0; | ||
margin: 0; | ||
} | ||
.titles { | ||
display: inline; | ||
} | ||
.title { | ||
width: 100%; | ||
text-align: center; | ||
} | ||
.content { | ||
width: 100vw; | ||
height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-evenly; | ||
align-items: center; | ||
flex-wrap: wrap; | ||
} | ||
img { | ||
width: 100px; | ||
} | ||
a { | ||
font-size: 20px; | ||
color: orange; | ||
text-decoration: none; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<template> | ||
I am page-a son route | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<template> | ||
<div class="content"> | ||
<div class="titles"> | ||
<div class="title"> | ||
我是 /test/testpage 路由 qwq | ||
</div> | ||
<br/> | ||
<div class="title"> | ||
<img src="../../assets/mini-umi.jpg" alt="" @click="go"> | ||
|
||
</div> | ||
<div class="title"> | ||
<a href="https://github.com/BoyYangzai/mini-umi" target="_blank">mini-umi</a> | ||
</div> | ||
<div class="title">基于Umi微内核架构搭建的 可插拔 渐进式框架 </div> | ||
<div>本框架采用 mini-umi + preset-Vue3.2 + Vite</div> | ||
</div> | ||
<div class="titles"> | ||
<div class="title">To be continued...</div> | ||
<div class="title">mini-umi + preset-React + preset-MFSU</div> | ||
<div class="title">mini-umi + preset-qinkun</div> | ||
<div class="title">father dumi</div> | ||
</div> | ||
|
||
</div> | ||
</template> | ||
<script setup lang="ts"> | ||
const go = () => { | ||
window.open('https://github.com/BoyYangzai/mini-umi') | ||
} | ||
</script> | ||
|
||
<style> | ||
* { | ||
padding: 0; | ||
margin: 0; | ||
} | ||
.titles { | ||
display: inline; | ||
} | ||
.title { | ||
width: 100%; | ||
text-align: center; | ||
} | ||
.content { | ||
width: 100vw; | ||
height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-evenly; | ||
align-items: center; | ||
flex-wrap: wrap; | ||
} | ||
img { | ||
width: 100px; | ||
} | ||
a { | ||
font-size: 20px; | ||
color: orange; | ||
text-decoration: none; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { defineConfig } from 'father'; | ||
|
||
export default defineConfig({ | ||
extends: '../../.fatherrc.base.ts' | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env node | ||
|
||
process.env.FS_LOGGER = 'none'; | ||
require('../dist/cli'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"name": "create-mumi", | ||
"version": "1.2.0", | ||
"description": "", | ||
"module": "nodenext", | ||
"main": "dist/index.js", | ||
"bin": { | ||
"create": "./bin/create-mumi.js" | ||
}, | ||
"scripts": { | ||
"dev": "father dev", | ||
"build": "father build", | ||
"publish:all": "pnpm publish --no-git-checks", | ||
"build:deps": "father prebundle", | ||
"prepublishOnly": "father doctor && npm run build" | ||
}, | ||
"dependencies": { | ||
"@umijs/utils": "^4.0.33" | ||
}, | ||
"files": [ | ||
"dist", | ||
"templates" | ||
], | ||
"repository": "https://github.com/BoyYangzai/mini-umi", | ||
"keywords": [ | ||
"umi", | ||
"umijs", | ||
"mini-umi" | ||
], | ||
"author": "洋", | ||
"license": "ISC" | ||
} |
Oops, something went wrong.