This repository has been archived by the owner on Jul 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 365
New starter templates for Vue and React #913
Labels
Comments
@liron-navon we're in the process of replacing the docs so the community can make PRs on it. Could you branch off of |
Will give these starter themes a review! |
Related #871 |
Hey mate, I had a couple of issues getting the Vue dev tools to work using your theme. I've modified it slightly so that we load the Vue ESM, and that it supports loading elements in the following manner as opposed to the vueMount helper. Register new Vue Components in Vue.component('example-component', require('./components/ExampleComponent.vue').default); Throughout the liquid files, you should be able to render the vue templates with: <example-component
shopName="{{ shop.name }}"></example-component> See the following changes in this repo. Thanks for doing all the leg work @liron-navon :) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
help required!
I need help to get the template in the wiki, unfortunately this has to be made by one of the official maintainers, I can't create a pull request =(.
contribution
I created two new starter templates which extend the shopify/skeleton-theme, One for React and one for Vue.
None of them are SPA directed, and should work properly for creating components in the existing .liquid templates.
liron-navon/slate-vue-starter
liron-navon/slate-react-starter
The text was updated successfully, but these errors were encountered: