Skip to content

Commit

Permalink
feat: 默认移除export
Browse files Browse the repository at this point in the history
  • Loading branch information
xsf0105 committed Jul 6, 2023
1 parent 210b517 commit 6228d0a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-quark-app",
"version": "1.2.28",
"version": "1.2.29",
"description": "create quark app.",
"bin": {
"create-quark-app": "./dist/bin/index.js"
Expand Down
2 changes: 1 addition & 1 deletion template/application/app/src/views/NotFound/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { QuarkElement, customElement, state, createRef, } from "quarkc"
import style from "./index.less?inline"

@customElement({ tag: "app-not-found", style })
export default class AppNotFound extends QuarkElement {
class AppNotFound extends QuarkElement {
handleGoBack = () => {
history.go(-1)
}
Expand Down
4 changes: 1 addition & 3 deletions template/application/app/src/views/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,4 @@ class Home extends QuarkElement {
</>
)
}
}

export default Home;
}
2 changes: 1 addition & 1 deletion template/application/app/src/views/sub/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { QuarkElement, customElement, state, } from "quarkc";
import style from "./index.css?inline";

@customElement({ tag: "app-sub", style })
export default class Sub extends QuarkElement {
class Sub extends QuarkElement {
@state()
title = 'docs'

Expand Down
2 changes: 0 additions & 2 deletions template/application/component/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,3 @@ class MyComponent extends QuarkElement {
);
}
}

export default MyComponent;

0 comments on commit 6228d0a

Please sign in to comment.