Question: How To Show Store And How To Find Views Blade File

How To Show Store And How To Find Views Blade File

How To show Store page and I can't find the view blade files I have to hide some menus options but i can't find the file of view blade? Where is locate the view menu blade to hide some i

ST

SNM Tech

Asked
How To show Store page and I can't find the view blade files
I have to hide some menus options but i can't find the file of view blade?
Where is locate the view menu blade to hide some items of menus?
  • MS

    Mian Saleem

    Answered
    Hello,

    The front-end app is Vuejs and the files would be in the modules resource folder `modules/MPS/Resources/js/`

    The menus are generated from router file `modules/MPS/Resources/js/routes/indexVmps.js` while components are in `modules/MPS/Resources/js/components/` folder.

    Thank you
  • ST

    SNM Tech

    Answered
    This url show login page " http://new.maapadmawatijewellers.co.in/#/login "
    but when show http://new.maapadmawatijewellers.co.in/#/shop is not working , its showing also login page
    How to Shop URL?
    I have attached file
  • ST

    SNM Tech

    Answered
    And when i update any veu.js file there is no update anything , why?
  • MS

    Mian Saleem

    Answered
    Hello,

    MPS doesn't come with ecommerce/shop module.

    Have you purchased [the Ecommerce module](/products/ecommerce-module-for-modern-pos-solution)? If yes, then please go to Manage modules from Settings page and enable/install the module.

    Thank you
  • MS

    Mian Saleem

    Answered
    Hello,

    You need to run the development command for the modules `npm run mps:h` and once done modifications then build the app for products with `npm run mps:p` or `npm run prod` to build full app.

    Please check the [Vuejs guide](https://v2.vuejs.org/v2/guide/), if you need.

    Thank you
  • ST

    SNM Tech

    Answered
    We have purchase 89 dollar POS, How to run "npm run mps:h" in live server cpanel?
  • MS

    Mian Saleem

    Answered
    Hello,

    Yes, I know the license price. $89 is only for the MPS. The Ecommerce module is addon and should be bought separately.

    No, you never run development commands on a live server. You should do all development locally and once completed, build the production app and move to live server.

    I have already shared the vuejs docs link. You can google to know more. Youtube has many tutorials too.

    Thank you
  • ST

    SNM Tech

    Answered
    This commands not working :::->

    C:\xampp\htdocs\mpss>npm run mps:p

    > mps:p
    > cd modules/MPS && npm run prod


    > prod
    > npm run production && npm run pdf


    > production
    > mix --production

    'mix' is not recognized as an internal or external command,
    operable program or batch file.

    This type of error show
  • MS

    Mian Saleem

    Answered
    Hello,

    Please install the dependencies first `npm run mps:i` for MPS and `npm install` for all.

    Thank you
  • ST

    SNM Tech

    Answered
    this error show when run command : npm run mps:p

    C:\xampp\htdocs\mpss>npm run mps:p

    > mps:p
    > cd modules/MPS && npm run prod


    > prod
    > npm run production && npm run pdf


    > production
    > mix --production


    × Mix
    Compiled with some errors in 31.86s

    ERROR in ./Resources/js/routes/indexVmps.js 674:17-676:60
    Module not found: Error: Can't resolve '../components/payments/PaymentListComponent.vue' in 'C:\xampp\htdocs\mpss\modules\MPS\Resources\js\routes'

    ERROR in ./Resources/js/routes/indexVmps.js 706:17-708:60
    Module not found: Error: Can't resolve '../components/payments/PaymentFormComponent.vue' in 'C:\xampp\htdocs\mpss\modules\MPS\Resources\js\routes'

    ERROR in ./Resources/js/components/accounts/TransactionsComponent.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./Resources/js/components/accounts/TransactionsComponent.vue?vue&type=script&lang=js&) 82:0-73
    Module not found: Error: Can't resolve '@mpscom/payments/PaymentViewComponent' in 'C:\xampp\htdocs\mpss\modules\MPS\Resources\js\components\accounts'

    ERROR in ./Resources/js/components/customers/TransactionsComponent.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./Resources/js/components/customers/TransactionsComponent.vue?vue&type=script&lang=js&) 68:0-73
    Module not found: Error: Can't resolve '@mpscom/payments/PaymentViewComponent' in 'C:\xampp\htdocs\mpss\modules\MPS\Resources\js\components\customers'

    ERROR in ./Resources/js/components/reports/PaymentsReportComponent.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./Resources/js/components/reports/PaymentsReportComponent.vue?vue&type=script&lang=js&) 83:0-73
    Module not found: Error: Can't resolve '@mpscom/payments/PaymentViewComponent' in 'C:\xampp\htdocs\mpss\modules\MPS\Resources\js\components\reports'

    ERROR in ./Resources/js/components/suppliers/TransactionsComponent.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./Resources/js/components/suppliers/TransactionsComponent.vue?vue&type=script&lang=js&) 68:0-73
    Module not found: Error: Can't resolve '@mpscom/payments/PaymentViewComponent' in 'C:\xampp\htdocs\mpss\modules\MPS\Resources\js\components\suppliers'

    ERROR in ./Resources/js/components/views/Payment.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./Resources/js/components/views/Payment.vue?vue&type=script&lang=js&) 199:0-73
    Module not found: Error: Can't resolve '@mpscom/payments/PaymentViewComponent' in 'C:\xampp\htdocs\mpss\modules\MPS\Resources\js\components\views'

    webpack compiled with 7 errors
  • Login to Reply