Skip to content

Commit

Permalink
fix(plugin): fix umi plugin template (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
mortalYoung authored Aug 5, 2020
1 parent 0456651 commit c31035a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/generators/plugin/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
},
"gitHooks": {
"pre-commit": "lint-staged",
"commit-msg": "node scripts/verifyCommit.js"
},
"files": [
<% if (withUmiUI) { -%>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import styles from './index.css';
export default function() {
return (
<div className={styles.normal}>
<h1>Page index</h1>
<h1>hello umi plugin</h1>
</div>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import styles from './index.css';
export default function() {
return (
<div className={styles.normal}>
<h1>Page index</h1>
<h1>hello umi plugin</h1>
</div>
);
}

0 comments on commit c31035a

Please sign in to comment.