万年素人からHackerへの道

万年素人がHackerになれるまで殴り書きするぜ。

  • ・資産運用おすすめ
    10万円は1000円くらい利益
    資産運用ブログ アセマネ
    • ・寄付お願いします
      YENTEN:YYzNPzdsZWqr5THWAdMrKDj7GT8ietDc2W
      BitZenny:ZfpUbVya8MWQkjjGJMjA7P9pPkqaLnwPWH
      c0ban:8KG95GXdEquNpPW8xJAJf7nn5kbimQ5wj1
      Skycoin:KMqcn7x8REwwzMHPi9fV9fbNwdofYAWKRo

    Weexで<router-link>

    <router-link>を使ってページ遷移するのはWebだけかもしれない。

    これはProfileっていう名前のボタンでprofileで設定したページに行くのに楽そうだけど

        <router-link to="profile">
          <text>Profile</text>
        </router-link>

    アニメーションは発生するが、白い画面に行ってしまい積む。

    https://weex.incubator.apache.org/guide/advanced/use-vuex-and-vue-router.html

    vue-router use <router-link> to create a navigation link, but in which, some features are based on the DOM events and it doesn’t work well in the native environment. In Weex, you must use the Programmatic Navigation to manage the router.

    ネイティブアプリの時は Programmatic Navigation 使えって。コードで書けってことか。 router.push('/')