Refactor PVC models and update tests
- Updated the PVC models in the database and adjusted the tests accordingly to reflect the new model counts and codes. - Removed deprecated models from the JSON data for PVC systems. - Added new GLB models for "scorrevole_sf_3_ante" and "scorrevole_sf_4_ante". - Enhanced the development scripts to streamline the build process for both frontends. - Updated documentation to reflect changes in the development environment and deployment process. - Improved the styling of texture radio options for better visibility. - Fixed URL handling in the configurator to ensure proper routing and API calls.
This commit is contained in:
+4
-7
@@ -4,17 +4,14 @@ import { viteStaticCopy } from 'vite-plugin-static-copy';
|
||||
import { ViteMinifyPlugin } from 'vite-plugin-minify'
|
||||
|
||||
export default defineConfig({
|
||||
server: {
|
||||
host: '0.0.0.0',
|
||||
port: 5173,
|
||||
strictPort: true,
|
||||
},
|
||||
base: '',
|
||||
// Il configuratore è servito da Laravel sotto /configuratore/ (stessa origine dell'API):
|
||||
// la build finisce direttamente in backoffice/public/configuratore.
|
||||
base: '/configuratore/',
|
||||
root: 'src',
|
||||
// root è 'src', ma i file .env/.env.production vivono nella root del repo (accanto a build.sh).
|
||||
envDir: path.resolve(__dirname),
|
||||
build: {
|
||||
outDir: '../dist',
|
||||
outDir: path.resolve(__dirname, 'backoffice/public/configuratore'),
|
||||
minify: true,
|
||||
cssMinify: true,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user