Giter Site home page Giter Site logo

Comments (9)

erwinyusrizal avatar erwinyusrizal commented on June 10, 2024

I think i got the problem, in v6.3.5 the plugin params is not working, so the plugin always use the default params

in app.vue welcomescreen params never passed to the plugin

// Framework7 Parameters
      const f7params = {
        name: 'app.id', // App name
        theme: 'auto', // Automatic theme detection
        id: 'id.app', // App bundle ID
        // App store
        store: store,
        // App routes
        routes: routes,
        welcomescreen: {
          // Setup welcomescreen plugin
          slides: welcomescreen_slides,
          options: options,
        },
        // Input settings
        input: {
          scrollIntoViewOnFocus: device.cordova && !device.electron,
          scrollIntoViewCentered: device.cordova && !device.electron,
        },
        // Cordova Statusbar settings
        statusbar: {
          iosOverlaysWebView: true,
          androidOverlaysWebView: false,
        }
      };

any idea @valnub

from framework7-plugin-welcomescreen.

erwinyusrizal avatar erwinyusrizal commented on June 10, 2024

I tried to create simple plugin following tutorial from the latest documentation using F7 v3.6.5 and Vue 3.2.20

https://framework7.io/docs/plugins-api.html

I got the same issue, params never passed to the plugin

from framework7-plugin-welcomescreen.

erwinyusrizal avatar erwinyusrizal commented on June 10, 2024

ok this plugin works really good in F7 core. I think the problem is in F7Vue version

from framework7-plugin-welcomescreen.

valnub avatar valnub commented on June 10, 2024

Hi, thanks for reporting the issue. I tried to replicate the problem and can confirm that with Vue it only shows a blank page with a skip button in the top right corner. I'll have a look at the issue and will come back to you if I can find a fix.

from framework7-plugin-welcomescreen.

erwinyusrizal avatar erwinyusrizal commented on June 10, 2024

Any luck @valnub ?

from framework7-plugin-welcomescreen.

valnub avatar valnub commented on June 10, 2024

Hey, man. I‘m sorry but I won’t be able to look into this until next month 😬

from framework7-plugin-welcomescreen.

valnub avatar valnub commented on June 10, 2024

So, I looked deeper into the issue and can confirm that F7-Vue seems to ignore the parameters set by f7-welcomescreen plugin. I've opened a ticket with F7 team to verify if this is a bug in F7-Vue or something else is wrong: framework7io/framework7#3952

from framework7-plugin-welcomescreen.

valnub avatar valnub commented on June 10, 2024

Sorry for the late reply but this one was quite tricky. I fixed the issue in latest version 3.0.10.

Also, in your Vue component please add the following code:

onMounted(() => {
  f7ready((f7) => {
    f7.welcomescreen.init(welcomescreen_slides, options);
  });
});

Let me know if that worked for you :-)

from framework7-plugin-welcomescreen.

erwinyusrizal avatar erwinyusrizal commented on June 10, 2024

@valnub sorry just have time to test it. I have tested it last night and yes it's working now. Thank you so much

from framework7-plugin-welcomescreen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.