Skip to content

Commit

Permalink
Merge pull request #332 from moreonion/messages-app-runtime-compiler
Browse files Browse the repository at this point in the history
Fix regression in messages app - runtime compiler missing
  • Loading branch information
torotil authored Mar 22, 2024
2 parents 5e5b568 + 6f9e35f commit 7c2db93
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 21 deletions.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions campaignion_email_to_target/messages_app/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import locale from 'element-ui/lib/locale'
// Set language for element-ui.
try {
locale.use(Drupal.settings.campaignion_vue.element_ui_strings)
} catch {
console.error('Could not load strings from Drupal.settings.campaignion_vue.element_ui_strings');
} catch (e) {
console.error('Could not load strings from Drupal.settings.campaignion_vue.element_ui_strings')
}

// Create a central event bus.
Expand Down
3 changes: 2 additions & 1 deletion campaignion_email_to_target/messages_app/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ export default defineConfig({
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
'@': fileURLToPath(new URL('./src', import.meta.url)),
vue: 'vue/dist/vue.esm.js' // include runtime compiler
}
},
server: {
Expand Down

0 comments on commit 7c2db93

Please sign in to comment.