Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix images on production #24

Merged
merged 4 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ jobs:
- name: Build app
run: npm run generate

- name: Deploy app
run: npm run deploy
# - name: Deploy app
# run: npm run deploy
4 changes: 4 additions & 0 deletions assets/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -218,4 +218,8 @@ body {

.p-h-3 {
padding: 0 3rem;

@include phone-lower {
padding: 0 1.2rem;
}
}
2 changes: 2 additions & 0 deletions components/VSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ withDefaults(defineProps<Props>(), {
const emit = defineEmits(["update:v-model", "change"]);

const onChange = useDebounceFn((value: string[] | string) => {
if (!value.length) return;

emit("change", value);
}, 750);
</script>
Expand Down
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ["@element-plus/nuxt", "@pinia/nuxt", "@nuxt/image-edge"],
modules: ["@element-plus/nuxt", "@pinia/nuxt"],
app: {
baseURL: "/un-environment/", // baseURL: '/<repository>/'
buildAssetsDir: "assets", // don't use "_" at the begining of the folder name to avoids nojkill conflict
Expand Down
Loading
Loading