⚠️ This guide is no longer relevant and needs to be updated. (TODO)
- Copy
packages/nuxt-coretoapps/<your-nuxt-app>. - Rename
package.target.jsontopackage.json(deleting the originalpackage.jsonif it exists). - Modify the
namefield inpackage.jsonto match your app name.
{
"name": "<your-nuxt-app>",
...
}Then, update the ports in the scripts section as needed. Ideally, the port number should be 30XX, where XX is a unique number for your app.
"scripts": {
"nuxt:dev": "nuxt dev --port 30XX",
...
}- Install dependencies by running:
cd apps/<your-nuxt-app>
yarn install- Modify
nuxt.config.tsto enable any desired modules or configurations. UsedeepMergeto combine the base config with your custom settings.
// https://nuxt.com/docs/api/configuration/nuxt-config
import { nuxtBaseConfig } from "@repo/nuxt-core/nuxt.config.ts";
import { deepMerge } from "@repo/utils/std/objects";
export default defineNuxtConfig(
deepMerge(nuxtBaseConfig as Record<string, unknown>, {
devtools: {
enabled: true,
},
ssr: true,
}),
);- Modify the
.envand theapp/assets/website-meta.jsonfiles to reflect your app's details (e.g., product name, website, etc.). - Modify the
app/assets/website-logo.tsfile to export your app's logo.