avored / laravel-ecommerce

AvoRed an Open Source Laravel Shopping Cart
https://avored.com
1.52k stars 549 forks source link

javascript is something wrong #441

Closed marol1210 closed 4 years ago

marol1210 commented 4 years ago

Describe the bug javascript is wrong , make page not work perfect.

To Reproduce Steps to reproduce the behavior:

  1. pull latest branch , master.
  2. composer update
  3. npm run dev , there is a question to me. in root of project, i saw webpack.mix.js source code mix.js('packages/framework/....') , but i can't find packages/framework directory, result npm run fail.

Screenshots image

image

Desktop (please complete the following information):

marol1210 commented 4 years ago
  1. delete public/avored-admin/**

  2. page was ok that there is no js error when exec follow command , but there is something about css style issue;

php artisan vendor:publish --provider="AvoRed\Framework\AvoRedProvider" Copied Directory [/vendor/avored/framework/assets/avored-admin] To [/public/avored-admin] Publishing complete.

image

indpurvesh commented 4 years ago

Sorry I am just trying to understand that what is the problem? Is it that dashboard is in English?

marol1210 commented 4 years ago

@indpurvesh

thanks , you appear

it's not problem about dashboard in English or page language.

problem: i pulled latest branch master, install avored local, and fail to open site, because some javascript error and the page style is different with previous. first , i think there is something wrong with local environment . so i try to rebuild font-end resource use npm & laravel_mix(webpack), but failed.

Now, i continue learn code and one question about avored's fronted, thanks for your help.

normal page: image

error page: image

Sorry I am just trying to understand that what is the problem? Is it that dashboard is in English?

marol1210 commented 4 years ago

laravel's mix dynamic vue

https://github.com/avored/laravel-ecommerce/issues/442#issuecomment-655160577