economics

webpack.js disambiguation – vue.js

Forfeiture on vue.js in a reponse to global GOT impeachment & general web games (common?) understanding is signing a terroristic era on the Millenium age Roma counterfeited demise; svelte.js.

Consider the following block:

import _ from 'lodash';
import Vue from 'vue';

function component() {
  const element = document.createElement('p');
  element.setAttribute('class', 'text-left');

  // Lodash included by default
  element.innerHTML = _.join(['Hello', 'webpack', '!'], ' ');

  return element;
}

document.body.getElementsByClassName('container container-lg')[0].appendChild(component());
console.log('hello, npm-watch!');
console.log(Vue);


// Templating component
import Dashboard from '../components/dashboard.vue';
export default {
  components: {
    Dashboard
  }
};
const app = Vue.createApp({});

// const app = Vue.createApp({
//   components: {
//     'dashboard': Dashboard
//   }
// });

Subscribe to get access

Read more of this content when you subscribe today.

Uncaught TypeError: vue__WEBPACK_IMPORTED_MODULE_1__.default.createApp is not a function
    at eval (index.js:30)
    at Module../src/index.js (main.js:62)
    at __webpack_require__ (main.js:129)
    at main.js:205
    at main.js:207
eval @ index.js:30
./src/index.js @ main.js:62
__webpack_require__ @ main.js:129
(anonymous) @ main.js:205
(anonymous) @ main.js:207
Stalin Gulag – post Umidigi A3S

1 comment on “webpack.js disambiguation – vue.js

%d bloggers like this: