Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. import Vue from 'vue' #vueの読み込み
  2. import App from './App.vue'  #自分で書いたapp.vueの読み込み
  3.  
  4. import BootstrapVue from 'bootstrap-vue'  #bootstrap-vueの読み込み
  5. import 'bootstrap/dist/css/bootstrap.css' #cssの読み込み①
  6. import 'bootstrap-vue/dist/bootstrap-vue.css' #cssの読み込み②、①と被ってたら上書き
  7. Vue.use(BootstrapVue)     #bootstrapvueをvueで使うよう指定
  8.  
  9. new Vue({         #新しいvueオブジェクトの生成
  10. el: '#app',       #index.html内のappと言う名前のidが割り振られた場所に
  11. render: h => h(App)   #Appで読み込まれてるvueファイルを挿入する。
  12. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement