You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<scriptsrc="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script><divid="app-2"><spanv-bind:title="message">
Hover your mouse over me for a few seconds
to see my dynamically bound title!
</span></div><script>varapp2=newVue({el: '#app-2',data: {message: 'You loaded this page on '+newDate().toLocaleString()}})</script>
local に html ファイルを作る
自分のPCでファイルを作成、編集してアクセスする
~/start.html
open ~/start.html
これだけで動くみたいだ。
npm とか 色々用意しないと動かせないのかと思いこんでいたが、なんと
チュートリアルの二個目
ちゃんと動いている。
テキストにマウスを乗せるとポップアップが出てくるぜ。
オンラインサイトを使う場合
公式でもおすすめされているサイト
https://jsfiddle.net/chrisvfritz/50wL7mdz/
にアクセスすると既にHTML / Javascriptが入力されており、 Run を実行するだけで動作させられるようだ!
参考
「Vue js はじめに」にこのことが書いてあるのだが、そもそも、膨大なドキュメントのどれが「はじめのはじめ」なのかが、初学者には分からないのですよ。
https://jp.vuejs.org/v2/guide/index.html
この「はじめに」にインストールボタンがあって、そこから npm の話とか出てくるじゃないですか…。
The text was updated successfully, but these errors were encountered: