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

Create method in proper directory #7057

Open oceanapplications opened 7 months ago

oceanapplications commented 7 months ago

Using npx @vue-storefront/cli add endpoint getSomething is creating the nuxt component in the pages directory. As a result, added methods don't appear in the playground. It seems like it should be created in the pages/methods directory.

Also reported in this issue https://github.com/vuestorefront/integration-boilerplate/issues/18

changeset-bot[bot] commented 7 months ago

⚠️ No Changeset found

Latest commit: 9edb275510cc100c816588f935dad95aa30f8434

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR