Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/VienDinhCom/bootstrap-shopify-theme
π A free Shopify Theme built with Bootstrap, BEM, Liquid, Sass, ESNext, Theme Tools, ... and Webpack.
https://github.com/VienDinhCom/bootstrap-shopify-theme
bem bootstrap bootstrap-shopify-theme eslint javascipt liquid postcss sass shopify shopify-theme shopify-theme-check shopify-theme-cli shopify-theme-development shopify-theme-scripts shopify-themes stylelint swiper theme webpack webpack-encore
Last synced: about 2 months ago
JSON representation
π A free Shopify Theme built with Bootstrap, BEM, Liquid, Sass, ESNext, Theme Tools, ... and Webpack.
- Host: GitHub
- URL: https://github.com/VienDinhCom/bootstrap-shopify-theme
- Owner: VienDinhCom
- License: mit
- Created: 2021-03-16T04:41:09.000Z (almost 4 years ago)
- Default Branch: v1
- Last Pushed: 2023-05-16T10:34:08.000Z (over 1 year ago)
- Last Synced: 2024-10-30T05:57:49.534Z (about 2 months ago)
- Topics: bem, bootstrap, bootstrap-shopify-theme, eslint, javascipt, liquid, postcss, sass, shopify, shopify-theme, shopify-theme-check, shopify-theme-cli, shopify-theme-development, shopify-theme-scripts, shopify-themes, stylelint, swiper, theme, webpack, webpack-encore
- Language: Liquid
- Homepage: https://github.com/maxvien/bootstrap-shopify-theme#demonstration
- Size: 811 KB
- Stars: 137
- Watchers: 5
- Forks: 114
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# π Bootstrap Shopify Theme
A free [**Shopify Theme**](https://github.com/maxvien/bootstrap-shopify-theme) built with [**Bootstrap**](https://getbootstrap.com/), [BEM](http://getbem.com/), [Liquid](https://shopify.github.io/liquid/), [Sass](https://sass-lang.com/), [ESNext](https://en.wikipedia.org/wiki/ECMAScript#ES.Next), [Theme Tools](https://shopify.dev/tools/themes), ... and [Webpack](https://webpack.js.org/).
## Experience
These are my experience when I have been working on this theme:
- Designing & Building [Shopify Themes](https://github.com/maxvien/bootstrap-shopify-theme) from Scratch.
- Using [Bootstrap@5](https://getbootstrap.com/) to Create a Nice User Interface.
- Using [BEM Methodology](http://getbem.com/) to Create Minimal, Reusable Source Code.
- Using [Liquid](https://shopify.github.io/liquid/), [SASS](https://sass-lang.com/), [ESNext](https://en.wikipedia.org/wiki/ECMAScript#ES.Next) to Develop the Theme Fashionably.
- Using [Shopify Theme Scripts](https://github.com/Shopify/theme-scripts) to Solve Theme Problems Faster.
- Using [Shopify Metafield](https://shopify.dev/docs/admin-api/rest/reference/metafield) to Add Extra Information to Other Resources.
- Using [Swiper](https://swiperjs.com/) to Create Beautiful, Touchable, Responsive Sliders.
- Using [CSS Media Queries](https://www.w3schools.com/css/css_rwd_mediaqueries.asp) to Create a Mobile-First and Responsive Design.
- Using [Shopify Theme CLI](https://shopify.dev/themes/tools/cli) to Develop and Deploy the Theme.
- Using [PostCSS](https://postcss.org/) to Make CSS Code Compatible with Old Browsers.
- Using [CoreJS](https://github.com/zloirock/core-js) to Make JavaScript Code Compatible with Old Browsers.
- Using [Webpack Encore](https://github.com/symfony/webpack-encore) to Bundle all SCSS, JavaScript, Font, Image, ... Assets.
- Using [Shopify Theme Check](https://shopify.dev/themes/tools/theme-check), [ESlint](https://eslint.org/), [Stylelint](https://stylelint.io/), [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) to Follow Theme Best Practices.If you like this project, hit the **STAR** button to bookmark it βοΈ
## Demonstration
- **Store Link**: https://maxvien-bootstrap.myshopify.com
- **Store Password**: `maxvien`## Installation
Clone the source code into your computer.
```bash
git clone https://github.com/Maxvien/bootstrap-shopify-theme.git
```Install the project's dependencies.
```bash
yarn install
```## Usage
First of all, you need to install [Shopify CLI](https://shopify.dev/apps/tools/cli/installation) and login into your online store.
```bash
shopify login --store=your-store.myshopify.com
```Then you can run the below commands to work with the theme.
### Serve
Run `webpack watch` and `serve` the theme in development mode.
```bash
yarn serve
```### Push
Run `webpack build` and `push` the theme to your online store in production mode.
```bash
yarn push
```### Pull
Safely `add` the current project files to the git staging area, then `pull` the theme from your online store, and `clean` untracked asset files.
```bash
yarn pull
```### Test
Run unit `test` with jest and make sure the files are following the project workflow.
```bash
yarn test
```### Lint
Analyze the code to find problems with `shopify theme check`, `eslint`, `stylelint` and `prettier`.
```bash
yarn lint
```Automatically fix problems.
```bash
yarn fix
```## Notes
### Theme Assets
All files inside the `theme/assets` directory are ignored by `git`, except files starting with the `static` keyword in their filename.
### Webpack Encore
[Symfony Webpack Encore](https://symfony.com/doc/current/frontend.html) is a simpler way to integrate Webpack into your application. It wraps Webpack, giving you a clean & powerful API for bundling JavaScript modules, pre-processing CSS & JS and compiling and minifying assets. Encore gives you professional asset system thatβs a delight to use.
If you want to use [React](https://symfony.com/doc/current/frontend/encore/reactjs.html) or [Vue](https://symfony.com/doc/current/frontend/encore/vuejs.html) in the theme, you can follow the documentation [here](https://symfony.com/doc/current/frontend.html).
## Visual Studio Code Extensions
To speed up your productivity, you can install these extensions:
- [Eslint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
- [Stylelint](https://marketplace.visualstudio.com/items?itemName=stylelint.vscode-stylelint)
- [Shopify Liquid](https://marketplace.visualstudio.com/items?itemName=Shopify.theme-check-vscode)
- [IntelliSense for CSS](https://marketplace.visualstudio.com/items?itemName=Zignd.html-css-class-completion)
- [Material Icon Theme](https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme)
- [Visual Studio IntelliCode](https://marketplace.visualstudio.com/items?itemName=VisualStudioExptTeam.vscodeintellicode)## Related Projects
- **[Next Shopify Storefront](https://github.com/Maxvien/next-shopify-storefront)** β’ A Shopping Cart built with TypeScript, Tailwind CSS, Headless UI, Next.js, React.js, Shopify Hydrogen React,... and Shopify Storefront GraphQL API.
- **[Shopify Data Faker](https://github.com/Maxvien/shopify-data-faker)** β’ A Shopify development tool for generating dummy store data.