Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

[info] Load snipcart lib only to specific pages #11

Open
andrea689 opened this issue Apr 23, 2021 · 3 comments · May be fixed by #19
Open

[info] Load snipcart lib only to specific pages #11

andrea689 opened this issue Apr 23, 2021 · 3 comments · May be fixed by #19

Comments

@andrea689
Copy link
Contributor

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!

@Calandri
Copy link

Me too

@Calandri
Copy link

Any update on this?

@ipatate
Copy link
Owner

ipatate commented Sep 10, 2021

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.

@andrea689 andrea689 linked a pull request Jan 19, 2022 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants