Skip to content
Snippets Groups Projects
Commit 6194fb6a authored by Štěpán Farka's avatar Štěpán Farka
Browse files

[ADD] vite config for production & coursel css

parent 94b00faa
No related branches found
No related tags found
No related merge requests found
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
<h1 class="text-white">{{ content.label_first }}</h1> <h1 class="text-white">{{ content.label_first }}</h1>
<h1 class="text-yellow-500 mb-2">{{ content.label_second }}</h1> <h1 class="text-yellow-500 mb-2">{{ content.label_second }}</h1>
<a href="#" class="btn btn--white btn--to-grey-175 btn--hoveractive uppercase"> <a href="#" class="btn btn--white btn--to-grey-175 btn--hoveractive uppercase">
<div class="btn__body-wrap w-32 h-11"> <span class="btn__body-wrap w-40 h-11">
<div class="btn__body w-32 h-11 text-lg xl:text-base xl:w-auto">{{ content.button_text }}</div> <span class="btn__body w-40 h-11 text-lg xl:text-base xl:w-auto">{{ content.button_text }}</span>
</div> </span>
</a> </a>
</div> </div>
</div> </div>
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
top: 30%; top: 30%;
} }
@screen 2xl { @screen 2xl {
margin-left: 15%; margin-left: 10%;
top: 40%; top: 40%;
} }
} }
......
...@@ -17,7 +17,7 @@ export default defineConfig({ ...@@ -17,7 +17,7 @@ export default defineConfig({
}, },
resolve: { resolve: {
alias: { alias: {
vue: 'vue/dist/vue.js' vue: process.env.NODE_ENV === 'production' ? 'vue/dist/vue.min.js' : 'vue/dist/vue.js'
}, },
extensions: ['.js', '.json', '.vue'], extensions: ['.js', '.json', '.vue'],
}, },
...@@ -32,7 +32,9 @@ export default defineConfig({ ...@@ -32,7 +32,9 @@ export default defineConfig({
main: resolve('./src/js/main.js') main: resolve('./src/js/main.js')
}, },
output: { output: {
chunkFileNames: undefined, entryFileNames: `main/[name].js`,
chunkFileNames: `main/[name].js`,
assetFileNames: `main/[name].[ext]`
}, },
}, },
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment