You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: LICENSE
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
The MIT License (MIT)
2
-
Copyright (c) 2016 Mendix
2
+
Copyright (c) 2018 Mendix
3
3
4
4
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Copy file name to clipboardExpand all lines: README.md
+36-9Lines changed: 36 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,9 @@ Make it easier to develop Mendix themes, without the use of [Scout](https://docs
5
5
## Prerequisites (only need to do this once)
6
6
7
7
The following things need to be installed:
8
-
*[Node.js](https://nodejs.org/en/)**Please ensure you install the LTS version, 8.x.x**
8
+
*[Node.js](https://nodejs.org/en/)**Please ensure you install the LTS version, 8.x.x. This is important!! It will fail on older versions like Node 6.x.x**
9
9
10
-
If you want to use Gulp (recommended):
10
+
If you want to use Gulp (**recommended**):
11
11
*[Gulp client](https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md) (you can install this after installing Node using ```npm install gulp-cli -g```)
12
12
13
13
If you want to use Grunt:
@@ -76,27 +76,54 @@ Make sure ``proxyAddress`` is pointed to your local deployment.
76
76
77
77
## Troubleshooting
78
78
79
-
***``npm install`` fails**<br /><br />
80
-
Make sure you have the package.json and Gruntfile.js/Gulpfile.js in your root folder. Also, if there are errors installing (this can happen when you install the Gulp version), make sure you have administrator rights. See point 3 at Installation.
79
+
#### **``npm install`` fails**<br /><br />
81
80
82
-
***"I started the dev task, but my ``localhost:3000`` keeps loading"**<br /><br />
83
-
Have you pointed to the right local deployment address? Check the proxyAddress in your Gulp-/Gruntfile.js. This should correspond to the address of your local deployment.
81
+
Make sure you have the package.json and Gruntfile.js/Gulpfile.js in your root folder. Also, if there are errors installing (this can happen when you install the Gulp version), make sure you have administrator rights. See point 3 at Installation.
82
+
83
+
#### **"I started the dev task, but my ``localhost:3000`` keeps loading"**<br /><br />
84
+
85
+
Have you pointed to the right local deployment address? Check the proxyAddress in your Gulp-/Gruntfile.js. This should correspond to the address of your local deployment.
86
+
87
+
#### **"I use the DEV task, but on reload it is missing styles"**<br /><br />
88
+
89
+
This is a common problem when you are using this in new Mendix Projects where it is using Deeplinks (e.g. http://localhost:3000/link/page). The reason for this is that the paths to the styles are relative in your HTML. Please check the following:
90
+
91
+
* Open the 'index.html' (or the one that is used, for example 'index2.html')
92
+
* In the ``<head>`` section you will find the links to stylesheets:
This should fix your problem with missing stylesheets after a reload
84
111
85
112
## Done theming?
86
113
87
-
Clean your project folder by deleting:
114
+
If you do not want the theming files to be part of the project (you can safely commit them, as long as you will add ``node_modules`` to **SVN Ignore**), you can clean your project folder by deleting:
88
115
*```package.json```
89
116
*```Gruntfile.js``` or ```Gulpfile.js```
90
117
*```node_modules``` folder
91
118
92
119
## TODO
93
120
94
-
*~~Check if Sass & Compass are still necessary~~ The later versions of node-sass will download their own binary, so you don't need to install Sass yourself.
121
+
None
95
122
96
123
## License
97
124
98
125
The MIT License (MIT)
99
-
Copyright (c) 2017 Mendix
126
+
Copyright (c) 2018 Mendix
100
127
101
128
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
0 commit comments