Skip to content

Commit 375eaf9

Browse files
committed
css添加scope,打包进js
1 parent 62ba23b commit 375eaf9

16 files changed

+2547
-1416
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ pnpm-debug.log*
2121
*.njsproj
2222
*.sln
2323
*.sw?
24+
/dist/demo.html

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v14

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ link:
1818
```html
1919
<script src="lib/vue.js"></script>
2020

21-
<link href="dist/vue-git-comment.css" rel="stylesheet" />
2221
<script src="dist/vue-git-comment.umd.min.js"></script>
2322
```
2423

@@ -31,7 +30,6 @@ npm install vue-git-comment --save
3130
## Usage
3231

3332
```js
34-
import 'vue-git-comment/dist/vue-git-comment.css';
3533
import VueGitComment from 'vue-git-comment';
3634

3735
// var VueGitComment = window.VueGitComment; // window

dist/vue-git-comment.common.js

Lines changed: 785 additions & 220 deletions
Large diffs are not rendered by default.

dist/vue-git-comment.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/vue-git-comment.umd.js

Lines changed: 785 additions & 220 deletions
Large diffs are not rendered by default.

dist/vue-git-comment.umd.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-git-comment",
3-
"version": "0.0.16",
3+
"version": "0.1.0",
44
"description": "A vue's comment component base on github's issues.",
55
"main": "dist/vue-git-comment.umd.js",
66
"files": [

src/VueGitComment/VueGitComment.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default class VueGitComment extends BaseComponent {
5757
5858
.vue-git-comment {
5959
color: #333;
60-
font-family: sans-serif;
60+
/* font-family: sans-serif; */
6161
6262
// 全局 border-box
6363
* {

src/VueGitComment/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import '~/assets/styles/github-markdown.css';
1+
import '~/assets/styles/github-markdown.scss';
22
import VueGitComment from './VueGitComment.vue';
33

44
VueGitComment['install'] = Vue => {

0 commit comments

Comments
 (0)