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 regression in messages app - runtime compiler missing #332

Merged
merged 3 commits into from
Mar 22, 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

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
Loading