Reuse of styles in multiple templates? #169
-
Anyone found a way to reuse styles in multiple .vue mails? // ./emails/styles.ts
import type { CSSProperties } from "vue";
export const main = {
backgroundColor: "#ffffff",
fontFamily: "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Oxygen-Sans,Ubuntu,Cantarell,\"Helvetica Neue\",sans-serif",
} satisfies CSSProperties; // .emails/contact.vue
import { btnContainer, button, container, footer, hr, logo, main, paragraph } from "./styles"; The error stack. I tried different paths, but could not get anything working.
Alternatively, a layout file would be great to inherit from. |
Beta Was this translation helpful? Give feedback.
Answered by
Flowko
Jun 22, 2024
Replies: 1 comment
-
with the new update you can do that, sorry for the late reponse |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
DavidDeSloovere
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
with the new update you can do that, sorry for the late reponse