* Add create template functionality in Admin Panel - Implemented a new endpoint for creating templates in AdminController, utilizing the GenerateTemplate command. - Added a form in the admin settings Vue component to allow users to input a template description and submit it. - Enhanced the user experience with loading states and success/error alerts during template creation. These changes facilitate the generation of new form templates directly from the admin interface, improving usability and functionality. * Update template prompt validation length in AdminController - Increased the maximum length of the 'template_prompt' field from 1000 to 4000 characters in the createTemplate method. This change allows for more extensive template descriptions, enhancing the flexibility of template creation in the admin panel. * Refactor template generation to use job-based approach - Migrate template generation logic from the GenerateTemplate command to a new GenerateTemplateJob class for improved separation of concerns and better handling of asynchronous processing. - Update AdminController to utilize the new job for generating templates, enhancing maintainability and clarity in the codebase. - Remove unused dependencies and streamline the command's handle method for better performance and readability. * fix lint --------- 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.