Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Router decorator #108

Open
chiqui3d opened this issue Jan 12, 2020 · 0 comments
Open

[Request] Router decorator #108

chiqui3d opened this issue Jan 12, 2020 · 0 comments

Comments

@chiqui3d
Copy link

chiqui3d commented Jan 12, 2020

I'm submitting a ... (check one with "x")
[ ] bug report
[x] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com

Expected behavior:

Related code:

@Component({
  tag: 'home-component'
})
@Route({
  path: '/',
  name: 'home',
  methods:['GET','POST']
})
export class HomeComponent {

  render() {
    return (
      <div>
        <p>Home</p>
      </div>
    );
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant