Skip to content

Commit

Permalink
feat: vmi对接dev和build命令,支持spa项目和组件物料打包第一阶段开发完毕
Browse files Browse the repository at this point in the history
  • Loading branch information
GGwujun committed Aug 11, 2021
1 parent f984918 commit aa12139
Show file tree
Hide file tree
Showing 51 changed files with 1,893 additions and 2,641 deletions.
2 changes: 1 addition & 1 deletion .github/commit-convention.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The **header** is mandatory and the **scope** of the header is optional.

### Revert

If the commit reverts a previous commit, it should begin with `revert: `, followed by the header of the reverted commit. In the body, it should say: `This reverts commit <hash>.`, where the hash is the SHA of the commit being reverted.
If the commit reverts a previous commit, it should begin with `revert:`, followed by the header of the reverted commit. In the body, it should say: `This reverts commit <hash>.`, where the hash is the SHA of the commit being reverted.

### Type

Expand Down
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
}
10 changes: 6 additions & 4 deletions examples/fire-start-vue/winfe.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@
const fileListPugin = require('@winning-plugin/webpack-filelist-export');

module.exports = {
chainWebpack: (config) => {
chainWebpack: config => {
config
.plugin('filePlugin')
.after('html')
.use(fileListPugin, [
{
extract: true,
jsExternals: [],
cssExternals: [`/web-public/libs/win-components/skin/index.css?t=${Date.now()}`]
}
cssExternals: [
`/web-public/libs/win-components/skin/index.css?t=${Date.now()}`,
],
},
]);
},
sass: {}
sass: {},
// chainWebpack: (config) => {
// console.log(config.module.rule('svg'), 'ssss');
// config.module
Expand Down
4 changes: 1 addition & 3 deletions examples/normal/.umirc.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { defineConfig } from 'vmi';

export default defineConfig({

});
export default defineConfig({});
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"@types/node": "^14.0.23",
"@umijs/core": "3.5.0-beta.4",
"@umijs/plugin-analytics": "^0.2.2",
"@umijs/preset-dumi": "^1.1.6",
"@umijs/test": "3.5.0-beta.4",
"@umijs/test-utils": "3.5.0-beta.4",
"@umijs/utils": "3.5.0-beta.4",
Expand All @@ -64,7 +63,7 @@
"new-github-release-url": "^1.0.0",
"npm-run-all": "^4.1.5",
"open": "^8.0.2",
"prettier": "^2.3.0",
"prettier": "^2.3.2",
"prettier-plugin-organize-imports": "^2.1.0",
"umi-plugin-hire": "^1.0.3",
"yorkie": "^2.0.0"
Expand Down
5 changes: 5 additions & 0 deletions packages/client/README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
# vue2

## Project setup

```
yarn install
```

### Compiles and hot-reloads for development

```
yarn serve
```

### Compiles and minifies for production

```
yarn build
```

### Lints and fixes files

```
yarn lint
```

### Customize configuration

See [Configuration Reference](https://cli.vuejs.org/config/).
Loading

0 comments on commit aa12139

Please sign in to comment.