We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
マウントの仕方で el と vm.$mount がありますが、本稿では基本的にvm.$mountで進められています。 elの説明も織り交ぜておいたほうが初学者は混乱しないかと思いました。
el
vm.$mount
https://jp.vuejs.org/v2/api/#el
var app = new Vue({ el: '#app', data: { message: 'Hello Vue!' } })
vm.$mount()
https://jp.vuejs.org/v2/api/#vm-mount
var MyComponent = Vue.extend({ template: '<div>Hello!</div>' }) new MyComponent().$mount('#app')
The text was updated successfully, but these errors were encountered:
わかりました!
cli 使うと普通に vm.$mount() でテンプレート組まれるので、基本は vm.$mount() として、 el は口頭で補足する形にできればと思います!
Sorry, something went wrong.
hiro0218
mjcreativelab
No branches or pull requests
マウントの仕方で
el
とvm.$mount
がありますが、本稿では基本的にvm.$mount
で進められています。el
の説明も織り交ぜておいたほうが初学者は混乱しないかと思いました。el
https://jp.vuejs.org/v2/api/#el
el
でのマウントが最初に出てくるvm.$mount()
https://jp.vuejs.org/v2/api/#vm-mount
The text was updated successfully, but these errors were encountered: