Cleanup
This commit is contained in:
parent
593e1928b3
commit
b18b72092f
@ -1,8 +1,4 @@
|
||||
# Shopify App Template Using Vue v.2 🟢
|
||||
|
||||
[](https://madewithvuejs.com/p/shopify-vue-app-template/shield-link)
|
||||
|
||||

|
||||
# 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)
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user