Monaca Onsen UI Discord Chat Github Repo

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