vuestorefront / vue-storefront

Alokai is a Frontend as a Service solution that simplifies composable commerce. It connects all the technologies needed to build and deploy fast & scalable ecommerce frontends. It guides merchants to deliver exceptional customer experiences quickly and easily.
https://www.alokai.com
MIT License
10.59k stars 2.08k forks source link

fix: change npm install and npm run dev to yarn according to docs #6880

Closed skirianov closed 1 year ago

skirianov commented 1 year ago

Description

Previously after installation with the CLI, users were receiving the following message

To finish the installation, run the following commands:

cd vsf-magento-playground
npm install

Then, go to the https://docs.vuestorefront.io/magento/ to learn how to configure the project.
Once finished, you can start the project using this command:

npm run dev

Related Issue

Closing #6879

Motivation and Context

Better DX

How Has This Been Tested?

Built-in test suites:

Test Suites: 16 passed, 16 total Tests: 29 passed, 29 total

sergiikirianov@Sergiis-MBP-2 cli % ./bin/run generate store
? What's your project name? test
? Choose an integration template: Magento 2
████████████████████████████████████████ || 100%
Sucessfully generated your store at "./test"!
To finish the installation, run the following commands:

cd test
yarn

Then, go to the https://docs.vuestorefront.io/magento/ to learn how to configure the project.
Once finished, you can start the project using this command:

yarn dev

Screenshots:

Before:

Screenshot 2023-01-19 at 13 11 21

After:

Screenshot 2023-01-19 at 13 10 38

Types of changes

Checklist:

Changelog

Tests

Code standards

Docs