ipatate / gatsby-plugin-snipcart-advanced

Gatsby JS plugin for Snipcart V3 with advanced settings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[info] Load snipcart lib only to specific pages

andrea689 opened this issue · comments

Hi, is there a way to use this lib only to specific pages? I would like to lighten the pages where I do not use snipcart, and I have noticed that this is required by all my pages.
Thanks!

commented

Me too

commented

Any update on this?

hello, how do you see this feature ? an array of authorized path ? like that :

shopPages: ['foo', 'bar']

if empty, all routes contains the snipcart lib.