* Enhance Application Version Management in Docker and Feature Flags - Added a new build argument `APP_VERSION` in the Docker configuration files to facilitate version tracking during builds. - Introduced a private method `getAppVersion` in `FeatureFlagsController` to retrieve the application version from the Docker environment, enhancing the feature flags response with version information. - Updated the `app.php` configuration file to include a new entry for `docker_version`, allowing for better version management and fallback when the Docker build version is unavailable. These changes aim to improve the application's versioning capabilities, ensuring that the version is consistently available across different components and environments. * Refactor OpenFormFooter and Update Feature Flags Handling - Modified `OpenFormFooter.vue` to include a version display when available, enhancing user awareness of the application version. - Refactored the script section to use the `<script setup>` syntax, improving readability and reactivity by utilizing `ref` and `computed` for reactive properties. - Removed the deprecated `feature-flags.js` plugin and updated `featureFlags.js` to ensure proper SSR compatibility and error handling during feature flag fetching. These changes aim to improve the user interface by providing version information and enhance the overall code structure for better maintainability and performance. |
||
|---|---|---|
| .. | ||
| 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.