We're excited to announce that Tilda now supports deploying Nuxt applications! With version 0.37.0 of the Tilda CLI, you can now easily build and deploy your Vue.js applications built with the Nuxt framework.
Getting Started
To deploy your Nuxt application on Tilda, you'll need:
- Tilda CLI version 0.37.0 or higher
- A Nuxt project (compatible with Nuxt 3)
First, make sure you have the latest version of the Tilda CLI installed:
npm install -g @tildacloud/cli@latest
Building Your Nuxt Application
The new tilda build nuxt
command handles building your Nuxt application and packaging it for deployment on Tilda. By default, it will:
- Run your project's build command (default:
npm run build
) - Process the Nuxt output directory
- Package both server and static assets
Here's how to build your Nuxt application:
tilda build nuxt
Customizing the Build
You can customize the build process using the following options:
--projectDir
: Specify the path to your Nuxt project (default: current directory)--buildCommand
: Use a custom build command (default:npm run build
)
For example, if you're using Yarn and have a custom build script:
tilda build nuxt --buildCommand 'yarn build:prod'
Deploying to Tilda
After building your application, you can deploy it using the tilda deploy
command:
tilda deploy --project my-project --site my-site
Try deploying your Nuxt application on Tilda today! For more detailed information, check out our Nuxt documentation.