Getting Started
This guide will help you set up and run your Shopify app using the Vue.js template.
Quick Start
Follow these simple steps to get your Shopify app up and running:
Clone the repository
bash# Option 1: Using degit (recommended) npx degit Mini-Sylar/shopify-app-vue-template your-app-name # Option 2: Using git clone git clone https://github.com/Mini-Sylar/shopify-app-vue-template.git your-app-name
Install dependencies
bashcd your-app-name npm install
Configure your app (first time only)
bashnpm run dev:reset
This will guide you through setting up your Shopify app credentials.
Start the development server
bashnpm run dev
Access your app Open the URL shown in your terminal to view your app.
Available Scripts
The template includes several useful scripts to streamline your development process:
Command | Description |
---|---|
npm run shopify | Run Shopify CLI commands |
npm run build | Build the project (frontend and backend) |
npm run dev | Start the development server |
npm run dev:reset | Reset Shopify configuration |
npm run dev:webhook | Trigger a webhook |
npm run info | Display info about the Shopify app |
npm run generate | Generate a theme extension |
npm run deploy | Deploy the app |
npm run show:env | Show environment variables for production |
npm run lint | Run ESLint on the entire project |
npm run format:server | Run Prettier formatting on the server |
npm run format:client | Run Prettier formatting on the client |
For the complete list of commands, check your package.json
file.
Next Steps
After setting up your app, you can:
- Explore the Features included in the template
- Learn about Internationalization
- Check out what's new in Version 2.0
If you run into any issues, refer to our comprehensive FAQ section.