Skip to content

Commit b999caa

Browse files
committed
(fix) revert css extract for SSR compatibility
1 parent d21c7fd commit b999caa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ You can import it as a custom component:
9797

9898
<script>
9999
import ChatWindow from 'vue-advanced-chat'
100+
import 'vue-advanced-chat/dist/vue-advanced-chat.css'
100101

101102
export default {
102103
components: {

demo/src/ChatContainer.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ import {
7878
} from '@/firestore'
7979
import { parseTimestamp, isSameDay } from '@/utils/dates'
8080
import ChatWindow from './../../src/ChatWindow'
81+
8182
// import ChatWindow from 'vue-advanced-chat'
83+
// import 'vue-advanced-chat/dist/vue-advanced-chat.css'
8284
// import ChatWindow from './../../dist/vue-advanced-chat.umd.min.js'
8385
8486
export default {

vue.config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,5 @@ module.exports = {
33
config.externals({
44
lamejs: 'lamejs'
55
})
6-
},
7-
css: {
8-
extract: false
96
}
107
}

0 commit comments

Comments
 (0)