sarga/packages/Webkul/Velocity
shubhammehrotra.symfony@webkul.com 77663243df https://github.com/shubhwebkul/bagisto/pull/5/ merged 2020-01-02 12:41:33 +05:30
..
publishable/assets https://github.com/shubhwebkul/bagisto/pull/5/ merged 2020-01-02 12:41:33 +05:30
src https://github.com/shubhwebkul/bagisto/pull/5/ merged 2020-01-02 12:41:33 +05:30
.gitignore velocity initial 2019-12-26 18:05:21 +05:30
README.md velocity initial 2019-12-26 18:05:21 +05:30
composer.json velocity initial 2019-12-26 18:05:21 +05:30
package.json category filters 2020-01-02 12:34:08 +05:30
webpack.mix.js velocity initial 2019-12-26 18:05:21 +05:30

README.md

Total Downloads

Bagisto Velocity Theme

Installation and Configuration

1. Clone the repository:

run command in packages/Webkul directory

git clone -b shubham https://git.webkul.com/laravel/laravel-velocity-theme.git Velocity

2. Update app.php:

pass the following to the providers array in app.php inside the config directory as the last element.

// Velocity provider
Webkul\Velocity\Providers\VelocityServiceProvider::class

3. Update composer.json:

pass the following to the psr-4 in composer.json

"Webkul\\Velocity\\": "packages/Webkul/Velocity/src"

4. update themes.php:

add the following array in themes.php file under config directory

'velocity' => [
    'views_path' => 'resources/themes/velocity/views',
    'assets_path' => 'public/themes/velocity/assets',
    'name' => 'Velocity',
    'parent' => 'default'
],

5. Run commands:

composer dump-autoload
php artisan vendor:publish --force

6. For development:

ln -s __PROJECT_DIR__/packages/Webkul/Velocity/publishable/assets __PROJECT_DIR__/public/themes/velocity/assets
ln -s __PROJECT_DIR__/packages/Webkul/Velocity/src/Resources/views __PROJECT_DIR__/resources/themes/velocity