framework7io / framework7io/framework7

use Template7 as a module

Open
#3,632 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.