Skip to content

refactor(kit,nuxt)!: drop support for nuxt 2 and compiling templates with ejs #27706

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

Merged
merged 6 commits into from
Jun 19, 2024

Conversation

danielroe
Copy link
Member

🔗 Linked issue

📚 Description

This finally enables and removes the opt-out for removing template compilation (#26925), as well as dropping support for Nuxt v2 in kit utilities.

‼️ Breaking changes

The new major version of Nuxt Kit (v4) will not contain shims for interacting with Bridge or Nuxt 2 projects. If you are using any of the following functions from Nuxt Kit they will no longer provide backwards compatibility:

  • defineNuxtModule
  • checkNuxtCompatibility
  • addLayout
  • extendPages

(Modules that need v2 compatibility can continue to depend on Nuxt Kit v3.)

In addition, when adding templates support is now dropped for compiling EJS syntax with lodash-template.

Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@danielroe danielroe merged commit f5ab7eb into main Jun 19, 2024
60 checks passed
@danielroe danielroe deleted the refactor/templates branch June 19, 2024 12:56
This was referenced Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy