Skip to content
This repository was archived by the owner on Oct 9, 2024. It is now read-only.

Commit 557e098

Browse files
committed
Fix code block styling
1 parent b0a8f7d commit 557e098

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

config/storybook/preview.js

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
import Vue from 'vue';
22
import { addDecorator } from '@storybook/vue';
33
import VueI18n from 'vue-i18n';
4-
import messages from '../../src/lang';
5-
6-
console.log(messages);
4+
import { messages } from '@/lang';
75

86
Vue.use(VueI18n);
97

108
const i18n = new VueI18n({
119
locale: 'en',
1210
fallbackLocale: 'en',
13-
messages: messages,
14-
// silentFallbackWarn: true,
15-
// silentTranslationWarn: true,
11+
messages,
12+
silentFallbackWarn: true,
13+
silentTranslationWarn: true,
1614
});
1715

1816
addDecorator(() => ({

src/components/CodeBlock.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import 'prismjs/components/prism-markup.js';
3030
import 'prismjs/components/prism-jsx.js';
3131
import 'prismjs/components/prism-php.js';
3232
33-
// import 'prismjs/themes/prism.css';
33+
import 'prismjs/themes/prism.css';
3434
3535
export default {
3636
name: 'CodeComponent',

0 commit comments

Comments
 (0)