- Install package
npm i bootstrap
- Create
bootstrap.sass
[css, scss, ...] file inassets/
folder and import Bootstrap styles
@import '../../node_modules/bootstrap/scss/bootstrap'
This command will add husky "prepare": "husky install"
npm lifecycle hook script that will be executed automatically during npm install
command run.
npx husky-init
module.exports = { | |
env: { | |
browser: true, | |
es2021: true, | |
node: true, | |
}, | |
extends: ["plugin:vue/vue3-recommended", "airbnb-base", "prettier"], | |
parserOptions: { | |
sourceType: "module", | |
ecmaVersion: 12, |
/** | |
* Defines the right word form suitable for number provided | |
* @param {Number} number | |
* @param {[String]} declensions | |
* @param {[Number]} cases | |
* @returns {String} | |
* @example | |
* const result = declension(10, ['монета', 'монеты', 'монет']) | |
* console.log(result) // 'монет' | |
*/ |