Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

a dozen Vue.use statements were stripped from my main.js #28

Closed
Labels
bugSomething isn't working
@vesper8

Description

@vesper8

I just tried adding this plugin to an existing project to see what would happen. It did a lot of changes, mostly renaming props to use#, changing dependencies in mypackage.json and making a few changes in mymain.js

One change that didn't make any sense to me is that it removed all this:

Vue.use(BootstrapVue);Vue.use(Notifications);Vue.use(ToggleButton);Vue.use(VueChatScroll);Vue.use(VueCookie);Vue.use(VueFormGenerator);Vue.use(VueLazyload);Vue.use(VueSweetalert2);Vue.use(VueGeolocation);Vue.use(vClickOutside);Vue.use(device);Vue.use(PortalVue);

while leaving:

import BootstrapVue from 'bootstrap-vue';import Notifications from 'vue-notification';import ToggleButton from 'vue-js-toggle-button';import VueChatScroll from 'vue-chat-scroll';import VueCookie from 'vue-cookie';import VueFormGenerator from 'vue-form-generator';import VueLazyload from 'vue-lazyload';import VueSweetalert2 from 'vue-sweetalert2';import vClickOutside from 'v-click-outside';import VueGeolocation from '@/plugins/GeoLocation';import device from 'vue-device-detector';import PortalVue from 'portal-vue';

Is this right? are imports now sufficient and you no longer need to addVue.use ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp