framework7io / framework7io/framework7
use Template7 as a module
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.8k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
It could be nice to be able to use Template7 as a module.
Describe the solution you'd like
// Import Template7
import Template7 from 'template7';
// Import Framework7 Core
import Framework7 from 'framework7/framework7-lite.js';
// Import Framework7 template7 module
import Framework7Template7 from 'framework7-template7';
// Init plugin
Framework7.use(Framework7Template7)
Describe alternatives you've considered
just detect if Template7 is imported and auto enable it
// Import Template7
import Template7 from 'template7';
// Import Framework7 Core
import Framework7 from 'framework7/framework7-lite.js';
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the Framework7 Core import and the proposed framework7-template7 plugin entry point, then compare them with the existing Template7 import path. Determine whether the requested module should be enabled through Framework7.use or automatic detection, and verify that the documented imports work together.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100