This commit is contained in:
dchar 2025-07-25 21:12:50 +02:00
parent 593e1928b3
commit b18b72092f
2 changed files with 2 additions and 11 deletions

View File

@ -1,8 +1,4 @@
# Shopify App Template Using Vue v.2 🟢
[![MadeWithVueJs.com shield](https://madewithvuejs.com/storage/repo-shields/4969-shield.svg)](https://madewithvuejs.com/p/shopify-vue-app-template/shield-link)
![Screenshot](https://drive.google.com/uc?id=1VKbiGd09QJ9c_TjpffQ5zasqxVLzqfgc)
# Shopify App Template Using Vue v3 🟢
A template for building Shopify apps using Vue.js as the frontend. It is based on the [Shopify App Node](https://github.com/Shopify/shopify-app-template-node) template.
@ -23,7 +19,7 @@ A template for building Shopify apps using Vue.js as the frontend. It is based o
## Getting Started
1. Clone this repository or `npx degit Mini-Sylar/shopify-app-vue-template your-app-name`
1. Clone this repository or `git clone https://gitea.skape.store/dchar/shopify-app-template.git`
2. Run `npm install` in the root directory
3. Run `npm run dev:reset` to configure your app (Initial setup only!)
4. Run `npm run dev` to start the app (Subsequent runs)

View File

@ -25,14 +25,9 @@ router.get('/manage', async (req, res) => {
const session = res.locals.shopify.session
const shophandle = session.shop.split('.')[0]
const appHandle = process.env.SHOPIFY_APP_HANDLE
console.log('===router.get(/manage/)===> ', appHandle)
const managedPricingUrl = `https://admin.shopify.com/store/${shophandle}/charges/${appHandle}/pricing_plans`
shopify.redirectOutOfApp({ req, res, redirectUri: managedPricingUrl, shop: session.shop })
// res.redirect(managedPricingUrl)
// res.status(200).send({ managedPricingUrl })
// /?charge_id=56701649226
})
export default router