* Refactor Form Not Found Handling and Improve Error Response - Replace the existing "Whoops" message with a NotFoundForm component for better user experience when a form is not found. - Enhance error handling in the loadForm function to set a 404 response status when a form cannot be loaded, improving clarity for users and developers. These changes aim to streamline the user experience and provide clearer feedback when forms are unavailable. * Refactor Navbar and NotFoundForm Components for Improved User Experience - Simplify the Navbar component by removing unnecessary conditional rendering for the authentication display, enhancing clarity in the layout. - Update the NotFoundForm component to utilize a dynamic actions array for rendering navigation options, improving maintainability and flexibility. - Adjust text styles for better readability and consistency across the NotFoundForm component. These changes aim to streamline the user interface and enhance the overall user experience when navigating forms and handling not found scenarios. * Update NotFoundForm Component for Improved Action Clarity - Adjust the text and icon in the actions array of the NotFoundForm component to enhance clarity and user experience. The "Start Fresh" action has been renamed to "Create Form" and the icon has been updated from a check-circle to a rocket-launch icon, better reflecting the action's purpose. - Minor formatting adjustments were made to the template for improved readability. These changes aim to provide users with clearer navigation options and a more intuitive interface when encountering a not found scenario. --------- 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 | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| README.md | ||
| app.config.ts | ||
| app.vue | ||
| error.vue | ||
| gtm.js | ||
| nuxt.config.ts | ||
| opnform.config.js | ||
| package-lock.json | ||
| package.json | ||
| runtimeConfig.js | ||
| 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.