Skip to content

Enable using framework7 components without entire framework #4308

Open
@Why-Not-Us

Description

@Why-Not-Us

Is your feature request related to a problem? Please describe.
I'm currently trying to use framework7 components in my react app without wrapping everything in framework7's App component like the guide suggests here: https://framework7.io/react/init-app

I already use React-router and ionic components so am worried about framework7 clashing w/ my existing setup

Describe the solution you'd like
Ideally there'd be a solution like ionic (which works for most but not all components):
https://ionicframework.com/docs/react/adding-ionic-react-to-an-existing-react-project

Describe alternatives you've considered
Tried checking the forum but not seeing any engagement there: https://forum.framework7.io/t/i-only-need-a-few-components-is-there-an-easy-way/16495

Seems there may be away to hack this into working but unclear of 2nd order consequences:
https://forum.framework7.io/t/correct-way-to-import-individual-framework7-vue-components/6808
https://framework7.io/docs/custom-build#es-modules

Additional context
KonstaUI is not an option here as it does not have the components I'm looking to use (Datepicker w/ range, sheet modal, etc.) and I don't want to use TailwindCSS.

Happy to help contribute here if someone can point me in the right direction or to any existing art - thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions