Navigation

    Monaca & Onsen UI
    • Register
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. ikan
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    ikan

    @ikan

    0
    Reputation
    1
    Posts
    321
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    ikan Follow

    Posts made by ikan

    • Import an element on vue component, instead of globally.

      Hi,

      I would like to avoid importing elements from esm in a file, and registering them globally (at main.js for example). Instead I would like to do something like:
      import VOnsInput from ‘vue-onsenui/esm/components/VOnsInput’;

      and at a Vue component: components: { VOnsInput, }

      I am globally only doing the following:

      import ‘onsenui/css/onsenui-core.css’;
      import VueOnsen from ‘vue-onsenui/esm’;

      Vue.use(VueOnsen);

      However, this doesn’t seem to work. Anyone has any suggestions?

      posted in Onsen UI
      ikan