Skip to content

Commit d709680

Browse files
Fix build
1 parent 63ed96d commit d709680

File tree

8 files changed

+208
-62
lines changed

8 files changed

+208
-62
lines changed

docs/build.js

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

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<title>vue-simple-context-menu</title>
1212
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
1313
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
14-
</head>
14+
<link href="/vue-simple-context-menu/main.css" rel="stylesheet"></head>
1515

1616
<body>
1717
<div id="app"></div>

docs/main.css

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

docs/main.css.map

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

example/main.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
import Vue from 'vue'
1+
import { createApp } from 'vue'
22
import App from './App.vue'
33

4+
const app = createApp(App)
5+
46
import VueSimpleContextMenu from '../src/index.js'
5-
Vue.component('vue-simple-context-menu', VueSimpleContextMenu)
7+
app.component('vue-simple-context-menu', VueSimpleContextMenu)
68

7-
new Vue({
8-
el: '#app',
9-
render: h => h(App)
10-
})
9+
app.mount('#app')

package-lock.json

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

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"html-webpack-plugin": "^3.2.0",
5555
"jest": "^24.8.0",
5656
"jest-serializer-vue": "^2.0.2",
57+
"mini-css-extract-plugin": "^0.11.2",
5758
"minimist": "^1.2.0",
5859
"regenerator-runtime": "^0.13.2",
5960
"rimraf": "^3.0.2",

0 commit comments

Comments
 (0)