there is already a DataTables-based table on the page. has too many functions to be implemented by Vue .
now you need to implement selecting some entries in DataTables and then performing subsequent operations in Vue.
< H1 > current problems < / H1 >after being packaged through Webpack, you cannot get an example of app in console, and you don"t know how to modify the data in vue.
< H1 > Code < / H1 >app.js
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import App from "./App.vue";
Vue.use(ElementUI);
Vue.component("example-component", require("./components/ExampleComponent.vue"));
const app = new Vue({
el: "-sharpvueapp",
render: h => h(App)
});
< H1 > Project dependent version < / H1 >
"vue": "^ 2.5.16"
webpack:3.12.0
use Laravel 5.6to build
< H1 > desired solution < / H1 > 1. A piece of code that uses native JS or JQuery to modify data in Vue
how to expose the vue example in console after 2.webpack packaging.
problem description
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)