Amber Shopify Project created using ReactJS+React-Redux with GraphQL API integration. Storefront Shopify API: https://github.com/Shopify/shopify-app-js/tree/main/packages/api-clients/storefront-api-client#readme
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 772B

123456789101112131415161718192021222324
  1. import React from 'react';
  2. import ReactDOM from 'react-dom/client';
  3. import './index.css';
  4. import App from './App';
  5. import { Provider } from 'react-redux';
  6. import store from './redux/store';
  7. import '@fontsource/roboto/300.css';
  8. import '@fontsource/roboto/400.css';
  9. import '@fontsource/roboto/500.css';
  10. import '@fontsource/roboto/700.css';
  11. // import reportWebVitals from './reportWebVitals';
  12. const root = ReactDOM.createRoot(document.getElementById('root'));
  13. root.render(
  14. <Provider store={store}>
  15. <App />
  16. </Provider>
  17. );
  18. // // If you want to start measuring performance in your app, pass a function
  19. // // to log results (for example: reportWebVitals(console.log))
  20. // // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
  21. // reportWebVitals();