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

Vue: from view to view

Vue: from view to view

A lightnight talk for #vuejs Japan. A concept on how to manage your vue files.

Hsiaoming Yang

May 31, 2016
Tweet

More Decks by Hsiaoming Yang

Other Decks in Technology

Transcript

  1. – Phil Karlton There are only two hard things in

    Computer Science: cache invalidation and naming things
  2. import Home from ‘./Home.vue’ import UserProfile from ‘./UserProfile.vue’ export default

    { ‘/’: { title: ‘Ḓᶭ’ component: Home }, ‘/user’: { title: ‘አಁ’ component: UserProfile } } views/index.js
  3. THX