Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove templateUtils #25338

Closed
3 of 4 tasks
Tracked by #26925
manniL opened this issue Jan 19, 2024 · 2 comments
Closed
3 of 4 tasks
Tracked by #26925

Remove templateUtils #25338

manniL opened this issue Jan 19, 2024 · 2 comments
Milestone

Comments

@manniL
Copy link
Member

manniL commented Jan 19, 2024

Describe the feature

templateUtils for compiling templates is deprecated and can be removed in v4

// TODO: remove utils in v4
const templateContext = { utils: templateUtils, nuxt, app }

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

@danielroe
Copy link
Member

danielroe commented Mar 22, 2024

👉 Recommend knitwork for manually creating templates. (Move https://github.com/unjs/nitro/blob/main/src/utils/index.ts#L24 to knitwork.)

We also should create PRs to the ecosystem removing templateUtils.

@danielroe
Copy link
Member

implemented in #26925 under a flag (to be removed when v4 lands)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Later
Development

No branches or pull requests

2 participants