Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Choosing Vue.js

Rahul Kadyan
September 15, 2017

Choosing Vue.js

Why would you choose Vue?

Rahul Kadyan

September 15, 2017
Tweet

More Decks by Rahul Kadyan

Other Decks in Programming

Transcript

  1. { template: `<App> <Sidebar /> <Content> <p>Hello World </p> </Content>

    </App>` } HTML { render () { return ( <App> <Sidebar /> <Content> <p>Hello World </p> </Content> </App> ) } } JSX { render (h) { return h('App', [ h('Sidebar'), h('Content', [ h( 'p', 'Hello World’ ) ]) ]) } } JS
  2. <app> <app-header></app-header> <app-footer></app-footer> </app> <div class="container"> <header> <slot name="header"></slot> </header>

    <main> <slot></slot> </main> <footer> <slot name="footer"></slot> </footer> </div> <div class="parent"> <child> <template scope="props"> <span>hello from parent</span> <span>{{ props.text }}</span> </template> </child> </div>
  3. Tech Choosing for large applications 1. Client Side Routing 2.

    Application State 3. Optimisation Efforts
  4. – Jacob Schatz, Lead Frontend Developer, GitLab “We chose it

    (vue) because it was more simple than everything out at there. It makes it easy to grasp the concepts and it was also easy to make a large app.”