Sitelet https://web.archive.org/web/20201015155634/https://github.com/ionic-team/ionic-framework/pull/22062
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

feat(vue): add ionic vue beta #22062

Merged
merged 50 commits into from Sep 10, 2020
Merged

feat(vue): add ionic vue beta #22062

merged 50 commits into from Sep 10, 2020

Conversation

@liamdebeasi
Copy link
Member

@liamdebeasi liamdebeasi commented Sep 10, 2020

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (npm run build) was run locally and any changes were pushed
  • Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this introduce a breaking change?

  • Yes
  • No

Other information

liamdebeasi and others added 30 commits Jul 7, 2020
fix
liamdebeasi added 2 commits Aug 7, 2020
@aparajita

This comment has been minimized.

Copy link

@aparajita aparajita commented on 6ba622f Aug 9, 2020

Love the commit message! Must have been a long day. 😂

@aparajita

This comment has been minimized.

@liamdebeasi I love reading your code, you're a coder after my own heart in your liberal use of vertical white space and comments!

It seems your convention (and mine too) is to surround control structures with white space. This is one place where that didn't happen.

There is an eslint rule that can enforce this btw.

This comment has been minimized.

Copy link
Member Author

@liamdebeasi liamdebeasi replied Aug 10, 2020

Thanks! Do you recall the name of the eslint rule? I can add it to my branch.

This comment has been minimized.

Copy link

@aparajita aparajita replied Aug 10, 2020

Here's my config, I think it conforms to your conventions:

    'padding-line-between-statements': [
      'error',
      { blankLine: 'always', prev: 'block-like', next: '*' },
      { blankLine: 'always', prev: 'break', next: '*' },
      { blankLine: 'always', prev: '*', next: 'class' },
      { blankLine: 'always', prev: '*', next: 'default' },
      { blankLine: 'always', prev: '*', next: 'do' },
      { blankLine: 'always', prev: '*', next: 'for' },
      { blankLine: 'always', prev: '*', next: 'function' },
      { blankLine: 'always', prev: '*', next: 'if' },
      { blankLine: 'always', prev: '*', next: 'iife' },
      { blankLine: 'always', prev: '*', next: 'switch' },
      { blankLine: 'always', prev: '*', next: 'try' },
      { blankLine: 'always', prev: '*', next: 'while' }
    ],
liamdebeasi added 14 commits Aug 13, 2020
ugh
@aparajita

This comment has been minimized.

Copy link

@aparajita aparajita commented on 0a58ae9 Sep 7, 2020

Go, Liam, go! 😁

While you're thinking about tabs and transitions, in the 0.9 version transitions to a page with ion-tabs don't work. Is that working in your dev version?

liamdebeasi added 3 commits Sep 8, 2020
@liamdebeasi
Copy link
Member Author

@liamdebeasi liamdebeasi commented Sep 10, 2020

@aparajita Transitions to a page with ion-tabs should be working now! You can do something like this:

<template>
  <ion-page>
    <ion-content>
      <ion-tabs>
        <ion-tab-bar slot="bottom">
          <ion-tab-button tab="tab1" href="/tabs/tab1">
            <ion-icon :icon="calendar" />
            <ion-label>Calendar</ion-label>
          </ion-tab-button>
          
          <ion-tab-button tab="tab2" href="/tabs/tab2">
            <ion-icon :icon="cog" />
            <ion-label>Settings</ion-label>
          </ion-tab-button>
        </ion-tab-bar>
      </ion-tabs>
    </ion-content>
  </ion-page>
</template>
@liamdebeasi liamdebeasi merged commit 5ffa65f into ionic-vue Sep 10, 2020
2 checks passed
2 checks passed
build Workflow: build
Details
screenshot Screenshot
Details
@liamdebeasi liamdebeasi deleted the vue-bindings branch Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.