LoginSignup
0
0

plunkerでvue その63

Last updated at Posted at 2023-08-29

概要

plunkerでvueやってみた。
練習問題、やってみた。

練習問題

vueファイルをcomponent化してtagで使う。

写真

image.png

サンプルコード


require({
  paths: {
    'Vue': 'https://unpkg.com/vue@2.5.11/dist/vue.min',
    'vue': 'https://unpkg.com/requirejs-vue@1.1.5/requirejs-vue'
  }
}, ['Vue', 'vue'], function(Vue, vue) {
  require(['vue!app', 'vue!tVar'], function(theApp) {
    theApp.$mount('#app');
  });
});


成果物

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0