zdrojowa/pages-module

7.0.1 2021-03-03 10:17 UTC

README

Latest Version on Packagist Total Downloads Build Status StyleCI

Create CMS pages module

Installation

Via Composer

$ composer require zdrojowa/pages-module

NPM required:

"@ckeditor/ckeditor5-build-classic": "18.0.0",
"@ckeditor/ckeditor5-vue2": "1.0.5",
"axios": "^0.19",
"bootstrap-vue": "2.16.0"
"vue": "^2.6.12",
"vue-multiselect": "2.1.6,
"vue-router": "^3.4.9",
"vuedraggable": "2.24.3",

Usage

  • Add in webpack.mix.js
mix.module('PagesModule', 'vendor/zdrojowa/pages-module');
  • Add module PagesModule in config/selene.php
'modules' => [
    PagesModule::class,
],

'menu-order' => [
    'PagesModule',
],
  • Add templates in resources/views/partials:
main.blade.php
  • run npm
npm install
npm run prod
  • Add lang in Settings

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits

License

license. Please see the license file for more information.