Choosing Vue.js

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →
Rahul Kadyan
September 15, 2017

Choosing Vue.js

Why would you choose Vue?

Rahul Kadyan

September 15, 2017

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

35 slides
  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.”

More Decks by Rahul Kadyan

Other Decks in Programming