uicrooks / shopify-theme-lab

Shopify theme development environment using Liquid, Vue and Tailwind CSS. Built on top of Shopify CLI 🧪
https://uicrooks.github.io/shopify-theme-lab-docs/
MIT License
737 stars 130 forks source link

Vue Router? #42

Closed camwhite closed 3 years ago

camwhite commented 3 years ago

Is your feature request related to a problem? Please describe.

Not really, we just want to use the router.

Describe the solution you'd like

A /routes directory very much like the store is setup.

Additional context

I would like a better understanding of how routing currently happens.

sergejcodes commented 3 years ago

Hi there Cameron 👋

This isn't a single-page app. It uses the default Shopify routing, all files inside shopify/templates are basically your "routes" these files are rendered on the server.

You can find some additional info in the Shopify template docs.

While you could technically implement a Vue router, it isn't really suited for this project.

camwhite commented 3 years ago

Gotcha thanks for following up!