{
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"globalReturn": false
},
"ecmaVersion": 2020,
"sourceType": "module",
"allowImportExportEverywhere": false,
"requireConfigFile": true
},
"plugins": [
"react",
"babel"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"extends": [
"eslint:recommended",
"plugin:jest/recommended"
],
"rules": {
"no-useless-escape": 0,
"no-undef": 0,
"no-extra-semi": 0,
"no-extra-boolean-cast": 0
},
"env": {
"browser": true,
"es6": true
}
}
ot.onText(/\/start/, function(msg, match) {
/\/start
регулярное выражение.<!-- HEAD -->
<link rel="stylesheet" type="text/css" href="slick/slick.css"/>
// Add the new slick-theme.css if you want the default styling
<link rel="stylesheet" type="text/css" href="slick/slick-theme.css"/>
<!-- AFTER JQ -->
<script type="text/javascript" src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script type="text/javascript" src="slick/slick.min.js"></script>
на файл плагина, и оберните фото в div с классом multiple-items<div class="multiple-items">
<div>your content</div>
<div>your content</div>
<div>your content</div>
</div>
<script>
$('.multiple-items').slick({
infinite: true,
slidesToShow: 3,
slidesToScroll: 3
});
</script>
docker-compose up
в папке проекта с сохранённым файлом docker-compose.yml описанным ниже.version: '3.1'
services:
wordpress:
build:
context: ./wordpress
image: wordpress
restart: always
ports:
- 8080:80
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: exampleuser
WORDPRESS_DB_PASSWORD: examplepass
WORDPRESS_DB_NAME: exampledb
volumes:
- ./wordpress:/var/www/html
db:
build:
context: ./db
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: exampledb
MYSQL_USER: exampleuser
MYSQL_PASSWORD: examplepass
MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes:
- ./db:/var/lib/mysql
volumes:
wordpress:
db: