Skip to content

Commit

Permalink
Merge pull request #418 from avored/dev
Browse files Browse the repository at this point in the history
Dev to master
  • Loading branch information
indpurvesh authored Mar 16, 2020
2 parents 796f27f + bcb6e20 commit 3069e39
Show file tree
Hide file tree
Showing 97 changed files with 61,976 additions and 31,996 deletions.
1 change: 0 additions & 1 deletion app/Http/Controllers/Account/AddressController.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ public function update(AddressRequest $request, Address $address)
*/
public function destroy(Address $address)
{
dd($address);
$address->delete();

return redirect()->route('account.address.index');
Expand Down
4 changes: 2 additions & 2 deletions avored.webpack.mix.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ mix.webpackConfig({
}
})

mix.js('vendor/avored/framework/resources/js/app.js', 'public/avored-admin/js/app.js');
mix.less('vendor/avored/framework/resources/less/app.less', 'public/avored-admin/css/app.css', {
mix.js('packages/framework/resources/js/app.js', 'public/avored-admin/js/app.js');
mix.less('packages/framework/resources/less/app.less', 'public/avored-admin/css/app.css', {
javascriptEnabled: true,
modifyVars: {
'primary-color': '#E64448',
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
},
"autoload": {
"psr-4": {
"App\\": "app/"
"App\\": "app/",
"AvoRed\\Framework\\": "packages/framework/src/"
},
"classmap": [
"database/seeds",
Expand Down
1 change: 1 addition & 0 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@
// App\Providers\BroadcastServiceProvider::class,
App\Providers\EventServiceProvider::class,
App\Providers\RouteServiceProvider::class,
//AvoRed\Graphql\GraphqlProvider::class,

],

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@ public function up()

$colorAttribute = Attribute::create(
['name' => 'Color',
'slug' => 'color']
'slug' => 'color',
'display_as' => 'IMAGE']
);
$whiteOption = $colorAttribute->dropdownOptions()->create(['display_text' => 'White']);
$blackOption = $colorAttribute->dropdownOptions()->create(['display_text' => 'Black']);
$brownOption = $colorAttribute->dropdownOptions()->create(['display_text' => 'Brown']);
$redOption = $colorAttribute->dropdownOptions()->create(['display_text' => 'Red', 'path' => 'uploads/catalog/attributes/red-attribute.jpg']);
$blueOption = $colorAttribute->dropdownOptions()->create(['display_text' => 'Blue', 'path' => 'uploads/catalog/attributes/blue-attribute.png']);
$yellowOption = $colorAttribute->dropdownOptions()->create(['display_text' => 'Yellow', 'path' => 'uploads/catalog/attributes/yellow-attribute.png']);


$brandProperty = Property::create(
Expand Down
4,214 changes: 3,277 additions & 937 deletions modules/avored/banner/package-lock.json → package-lock.json

Large diffs are not rendered by default.

14 changes: 13 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
},
"devDependencies": {
"ant-design-vue": "^1.3.13",
"apollo-boost": "^0.4.4",
"axios": "^0.19",
"cross-env": "^5.1",
"graphql": "^14.5.8",
"laravel-mix": "^4.1.2",
"less": "^3.9.0",
"less-loader": "^5.0.0",
Expand All @@ -24,7 +26,17 @@
"resolve-url-loader": "^2.3.1",
"vddl": "^0.7.1",
"vue": "^2.5.17",
"vue-apollo": "^3.0.0",
"vue-quill-editor": "^3.0.6",
"vue-template-compiler": "^2.6.10"
"vue-router": "^3.1.3",
"vue-template-compiler": "^2.6.10",
"apollo-cache-inmemory": "^1.6.3",
"apollo-client": "^2.6.4",
"apollo-link": "^1.2.13",
"apollo-link-http": "^1.5.16",
"graphql-tag": "^2.10.1"
},
"dependencies": {
"vue-i18n": "^8.15.0"
}
}
Loading

0 comments on commit 3069e39

Please sign in to comment.