Skip to content

Commit 09c59fc

Browse files
authored
fix: heroku client dir
* fix: `client` package name * fix: importing `materialize-css` in index
1 parent 361f4b1 commit 09c59fc

File tree

6 files changed

+798
-647
lines changed

6 files changed

+798
-647
lines changed

client/package.json

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,6 @@
11
{
2-
"name": "react-advanced-boilerplate",
2+
"name": "client",
33
"version": "0.2.0",
4-
"description": "An advanced React boilerplate with PostCSS, Eslint, StyleLint, a release manager, prettier, Storybook and internazionalization out of the box",
5-
"homepage": "https://github.com/CloudPower97/react-advanced-boilerplate",
6-
"repository": {
7-
"type": "git",
8-
"url": "https://github.com/CloudPower97/react-advanced-boilerplate.git"
9-
},
10-
"keywords": [
11-
"react",
12-
"boilerplate",
13-
"scaffolding",
14-
"i18n"
15-
],
16-
"author": {
17-
"name": "Claudio Cortese",
18-
"url": "https://github.com/CloudPower97"
19-
},
20-
"license": "MIT",
21-
"bugs": {
22-
"url": "https://github.com/CloudPower97/react-advanced-boilerplate/issues"
23-
},
244
"dependencies": {
255
"@cloudpower97/react-progressive-picture": "^1.1.0",
266
"@mdi/js": "^3.5.95",

client/public/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<meta property="fb:app_id" content="2265331890362238" />
1616
<meta property="og:locale" content="it-IT" />
1717

18-
<link rel="stylesheet" href="%PUBLIC_URL%/materialize.css" />
18+
<!-- <link rel="stylesheet" href="%PUBLIC_URL%/materialize.css" /> -->
1919
<!--
2020
Notice the use of %PUBLIC_URL% in the tags above.
2121
It will be replaced with the URL of the `public` folder during the build.
@@ -42,6 +42,5 @@
4242
To create a production bundle, use `npm run build` or `yarn build`.
4343
-->
4444
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
45-
<script src="%PUBLIC_URL%/materialize.min.js"></script>
4645
</body>
4746
</html>

client/public/materialize.css.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

client/src/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
import React from 'react'
22
import ReactDOM from 'react-dom'
33
import './i18n'
4-
import './index.css'
54
import 'vendor/modernizr.min.js'
65
import 'react-table/react-table.css'
6+
import 'vendor/materialize.css'
7+
import 'vendor/materialize.min.js'
8+
import './index.css'
79
import App from './App'
810
import { BrowserRouter } from 'react-router-dom'
911
import * as serviceWorker from './serviceWorker'

0 commit comments

Comments
 (0)