* Integration pages from Notion * Self hosted domain redirect * Refactor root-redirect middleware and update 404 page layout - Simplified the `root-redirect.js` middleware by removing the specific route checks, allowing for a more general redirect based on the `self_hosted` feature flag. - Updated the 404 error page in `[...all].vue` by removing the unnecessary `NuxtLayout` wrapper and replacing `NuxtLink` with a custom `UButton` for navigation, enhancing the overall layout and user experience. These changes aim to streamline the redirect logic and improve the presentation of the 404 error page. * Refactor feature flag handling and update middleware - Updated the condition in `Navbar.vue` to correctly evaluate the feature flags for rendering the AI form builder link. - Removed the `feature-flags.global.js` middleware as it was no longer needed, streamlining the middleware structure. - Enhanced the `root-redirect.js` middleware to utilize `h3`'s `sendRedirect` for server-side redirection, improving the redirect logic. - Modified the `ai-form-builder.vue` page to include the new `root-redirect` middleware, ensuring proper redirection based on feature flags. These changes aim to improve the handling of feature flags and redirection logic, enhancing the overall application flow. --------- Co-authored-by: Julien Nahum <julien@nahum.net> |
||
|---|---|---|
| .. | ||
| components | ||
| composables | ||
| data | ||
| i18n/lang | ||
| layouts | ||
| lib | ||
| middleware | ||
| mixins/forms | ||
| pages | ||
| plugins | ||
| public | ||
| scss | ||
| server | ||
| stores | ||
| .env.docker | ||
| .env.example | ||
| .gitignore | ||
| README.md | ||
| app.config.ts | ||
| app.vue | ||
| error.vue | ||
| eslint.config.cjs | ||
| gtm.js | ||
| nuxt.config.ts | ||
| opnform.config.js | ||
| package-lock.json | ||
| package.json | ||
| runtimeConfig.js | ||
| sentry.client.config.ts | ||
| sentry.server.config.ts | ||
| sitemap.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||
README.md
Nuxt 3 Minimal Starter
Look at the Nuxt 3 documentation to learn more.
Setup
Make sure to install the dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
Development Server
Start the development server on http://localhost:3000:
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn dev
# bun
bun run dev
Production
Build the application for production:
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn build
# bun
bun run build
Locally preview production build:
# npm
npm run preview
# pnpm
pnpm run preview
# yarn
yarn preview
# bun
bun run preview
Check out the deployment documentation for more information.