- Install dependency:
npm install
- Start project:
npm run dev
File name should be: pullrequests-list.txt
install:
npm install aos --save
Use: (all classes see in the web site)
<script>
AOS.init();
</script>
install:
npm install accordion-js
Use:
import Accordion from 'accordion-js';
import 'accordion-js/dist/accordion.min.css';
install:
npm install swiper
Use:
// import Swiper JS
import Swiper from 'swiper';
// import Swiper styles
import 'swiper/css';
const swiper = new Swiper(...);
Example:
const swiper = new Swiper('.swiper', {
// Optional parameters
direction: 'vertical',
loop: true,
// If we need pagination
pagination: {
el: '.swiper-pagination',
},
// Navigation arrows
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
// And if we need scrollbar
scrollbar: {
el: '.swiper-scrollbar',
},
});
install:
npm install izitoast --save
Use:
import iziToast from "izitoast";
import "izitoast/dist/css/iziToast.min.css";
Example:
iziToast.show({
title: 'Hey',
message: 'What would you like to add?'
});
install:
npm install axios
Example:
axios({
method: 'post',
url: '/user/12345',
data: {
firstName: 'Fred',
lastName: 'Flintstone'
}
});