Skip to content
Fatih Koca edited this page Nov 27, 2019 · 1 revision

Assets setting is used to push new asset files (CSS or JS) in the document.

Pushing single asset file

Vue.ajax.get([url], [data], {
    assets: "path/css/style.css"
});

Pushing multiple asset files

Vue.ajax.get("http://example.com", {}, {
    assets: ["assets/css/style.css", "assets/js/script.js"]
});
Clone this wiki locally