Re: [mapguide-users] The customization story in mapguide-react-layout

2017-03-14 Thread Jackie Ng
In Chrome/Firefox dev tools, it should pick up the source map for viewer.js
and you should get back a friendlier looking stack trace.

Actually, if you want a friendlier dev experience, you should make an IIS
virtual dir from /mapguide that points to the viewer directory of the git
clone:

eg. /mapguide/viewer-dev -> C:\tools\git\mapguide-react-layout\viewer

And then either put a copy or symlink of webconfig.ini into C:\tools\git

From there, you can run "yarn run watch:dev" that will make a full debug
viewer bundle and webpack will continuously monitor and live-rebuild this
bundle on any change of any .ts or .tsx file in the viewer source. A browser
reload afterwards will pick up the live-rebuilt bundle.

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/The-customization-story-in-mapguide-react-layout-tp5311221p5312185.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Re: [mapguide-users] The customization story in mapguide-react-layout

2017-03-13 Thread Jamo
Hey Jackie,

I'm completely new to the whole GIT pull request clone build thing (this
could be painful).

I think I've done this right but just want to check I've not messed
something up.

I've downloaded VSCode used gitgui to clone the master branch repository and
installed yarn and node.js

Next up I've made some minor changes to the "selection-panel.tsx"
add a href link when the property name is "Readings" opened the terminal
within VSCode and run yarn install

everything looks like it passed and built then i copy the viewer folder to
the web server and run it 
and get the error below

using the release version 0.8 works though . I must be doing something
wrong 

yarn install


web server error




-
MapGuide Maestro 6.0.0.8587
MapGuide Opensource 3.0.0.8701
Fusion, PHP, Apache
Windows 7 Pro SP1

--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/The-customization-story-in-mapguide-react-layout-tp5311221p5312175.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users