-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3501 from alibaba/release-next
Release
- Loading branch information
Showing
57 changed files
with
804 additions
and
534 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
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
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,38 @@ | ||
module.exports = [ | ||
{ | ||
id: 1, | ||
name: 'facebook/react', | ||
description: 'A declarative, efficient, and flexible JavaScript library for building user interfaces', | ||
logo: 'https://avatars3.githubusercontent.com/u/69631', | ||
}, | ||
{ | ||
id: 2, | ||
name: 'vuejs/vue', | ||
description: 'Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web. ', | ||
logo: 'https://avatars1.githubusercontent.com/u/6128107', | ||
}, | ||
{ | ||
id: 3, | ||
name: 'angular/angular', | ||
description: 'One framework. Mobile & desktop. ', | ||
logo: 'https://avatars3.githubusercontent.com/u/139426', | ||
}, | ||
{ | ||
id: 4, | ||
name: 'nuxt/nuxt.js', | ||
description: 'The Vue.js Framework', | ||
logo: 'https://avatars2.githubusercontent.com/u/23360933', | ||
}, | ||
{ | ||
id: 5, | ||
name: 'zeit/next.js', | ||
description: 'The React Framework', | ||
logo: 'https://avatars0.githubusercontent.com/u/14985020', | ||
}, | ||
{ | ||
id: 6, | ||
name: 'ice-lab/nice.js', | ||
description: 'A universal framework based on React.js.', | ||
logo: 'https://avatars1.githubusercontent.com/u/1961952', | ||
}, | ||
]; |
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 |
---|---|---|
|
@@ -8,5 +8,8 @@ runApp({ | |
onHide() { | ||
console.log('app hide...'); | ||
} | ||
}, | ||
router: { | ||
basename: '/home' | ||
} | ||
}); |
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,16 +1,22 @@ | ||
import { createElement } from 'rax'; | ||
import { createElement, PureComponent } from 'rax'; | ||
import Image from 'rax-image'; | ||
import { withRouter } from 'rax-app'; | ||
|
||
import './index.css'; | ||
|
||
export default () => { | ||
const source = { | ||
uri: '//gw.alicdn.com/tfs/TB1MRC_cvb2gK0jSZK9XXaEgFXa-1701-1535.png', | ||
}; | ||
return ( | ||
<Image | ||
className="logo" | ||
source={source} | ||
/> | ||
); | ||
}; | ||
class Logo extends PureComponent { | ||
public render() { | ||
const source = { | ||
uri: '//gw.alicdn.com/tfs/TB1MRC_cvb2gK0jSZK9XXaEgFXa-1701-1535.png', | ||
}; | ||
console.log('with router =>', this.props); | ||
return ( | ||
<Image | ||
className="logo" | ||
source={source} | ||
/> | ||
); | ||
} | ||
} | ||
|
||
export default withRouter(Logo); |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "create-app-container", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "", | ||
"author": "[email protected]", | ||
"homepage": "https://github.com/alibaba/ice#readme", | ||
|
132 changes: 0 additions & 132 deletions
132
packages/create-app-container/src/createAppNavigation.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.