- Overview
- Getting started
- Features
- Usage
- Development for contribution or customization
- Contributing
- License
BigCommerce Stencil Context Analyzer is a Chrome extension designed to aid developers working with BigCommerce Stencil themes. This extension provides a contextual analysis tool, allowing developers to easily inspect and debug the context in local development environments.
- Add the extension to your Chrome browser from the Chrome Web Store at this link: BigCommerce Stencil Context Analyzer .
- Start a local development environment for a BigCommerce Stencil theme (must be on localhost:3000).
- Open the Chrome DevTools and navigate to the BigCommerce Stencil tab to view the context data.
- Use the search bar to find specific context variables and explore the context data as needed.
- Context inspection for BigCommerce Stencil themes.
- Display detailed context data directly within the Chrome DevTools.
- Easy navigation and search functionality to find specific context variables.
- Download the extension from the chrome store
- Open your BigCommerce local development environment in Chrome.
- Open the Chrome DevTools by pressing
F12
orCtrl+Shift+I
. - Navigate to the BigCommerce Stencil tab.
- Use the search bar to find specific context variables.
- Explore the context data as needed for debugging and development purposes.
If you wish to contribute to this project, follow the instructions below to get started.
- Node.js
- npm
-
Install the dependencies:
npm install
-
Build the project:
npm run build
-
Reload the extension in Chrome:
- Go to
chrome://extensions/
- Set development mode
- Click on "Load unpacked" and select the directory containing the code from this repo
- Click on the Reload button for the BigCommerce Stencil Context Analyzer extension.
- Go to
To run the extension in development mode with live reloading:
-
Start the development server:
npm start
-
Start a local stencil theme development on port 3000
-
Open Chrome and navigate to http://localhost:4000/panel.html
Contributions are welcome! Please submit any bugs, issues, or feature requests through the project's GitHub issue tracker.
Distributed under the MIT License. See LICENSE.txt for more information.