Updating webpack config
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
import { library, dom } from "@fortawesome/fontawesome-svg-core";
|
||||
// import AOS from "aos";
|
||||
|
||||
import {
|
||||
faBookOpen,
|
||||
@@ -70,7 +71,6 @@ export default {
|
||||
$(".content table").addClass("table");
|
||||
$(".content table").wrap('<div class="table-responsive" />');
|
||||
$(".content table thead").addClass("thead-dark");
|
||||
$(".content pre").wrap('<figure class="highlight" />');
|
||||
$(".content figure > img").addClass("img-fluid");
|
||||
},
|
||||
lazyload: async () => {
|
||||
@@ -100,4 +100,8 @@ export default {
|
||||
$position = $scroll;
|
||||
});
|
||||
},
|
||||
aos: () => {
|
||||
var AOS = require("aos");
|
||||
AOS.init({ duration: 1000, once: false, useClassNames: true });
|
||||
},
|
||||
};
|
||||
|
||||
@@ -9,4 +9,5 @@ window.addEventListener("DOMContentLoaded", async (event) => {
|
||||
App.lazyload();
|
||||
App.loadFontAwesome();
|
||||
App.navbarFade();
|
||||
App.aos();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user