Skip to content

Commit

Permalink
feat: change valine to waline
Browse files Browse the repository at this point in the history
  • Loading branch information
wxsms committed Sep 27, 2021
1 parent 160b19b commit 38723f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/CommentBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
</template>

<script>
import Waline from '@waline/client'
export default {
name: 'CommentBox',
mounted () {
if (typeof window !== 'undefined' && this.$themeConfig.comment) {
const Waline = require('@waline/client');
new Waline({
...this.$themeConfig.comment,
el: '#vcomments',
Expand Down

0 comments on commit 38723f5

Please sign in to comment.