Skip to content

Commit

Permalink
release: update css
Browse files Browse the repository at this point in the history
  • Loading branch information
xsf0105 committed Jun 28, 2023
1 parent 98db3f5 commit db28d4e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 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.20",
"version": "1.2.21",
"description": "create quark app.",
"bin": {
"create-quark-app": "./dist/bin/index.js"
Expand Down
12 changes: 9 additions & 3 deletions template/application/app/src/views/home/index.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
import { QuarkElement, customElement, state, createRef, } from "quarkc"
import style from "./index.less?inline"
import logo from "../../assets/logo.png"
// import logo from "../../assets/logo.png"

@customElement({ tag: "app-home", style })
class Home extends QuarkElement {
// https://quark.hellobike.com/#/zh-CN/docs/properties
@state()
msg = 'Welcome to Your Quark App'

componentDidMount(): void {}
// https://quark.hellobike.com/#/zh-CN/docs/lifecycle
// componentDidMount() {}
// shouldComponentUpdate() {}
// componentDidUpdate() {}
// componentWillUnmount() {}

render() {
return (
<>
<div class="hello">
<img alt="quark logo" width="150" src={logo} />
{/* <img alt="quark logo" width="150" src={logo} /> */}
<img alt="quark logo" width="150" src="https://m.hellobike.com/resource/helloyun/13459/BI7jn_quark-logo.png?x-oss-process=image/quality,q_80" />
<h1>{ this.msg }</h1>
<p>
For a guide and recipes on how to configure / customize this project, <br />
Expand Down

0 comments on commit db28d4e

Please sign in to comment.