Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

After Cordova build the icon was lost.



  • After I build the a vue2 with onsenUI project.
    And then I use it with the cordova to build a android apk.
    The icon was missing which at fonts folder.
    my webpack.base.conf is like this.
    {
    test: /.(woff2?|eot|ttf|otf)(?.*)?$/,
    loader: ‘url-loader’,
    options: {
    limit: 10000,
    name: utils.assetsPath(‘fonts/[name].[hash:7].[ext]’),
    publicPath: process.env.NODE_ENV === ‘production’ ? ‘…/…/’ : ‘/’
    }
    }
    0_1516073791618_icon.png

    Here is a demo I will provide. And I will keep trying find out what happened.
    Code



  • I know the reason now.It’s about font url