<script src="<%=SPContext.Current.Site.ServerRelativeUrl + SPUtility.MakeBrowserCacheSafeLayoutsUrl("folderUnderLayouts/js/MedInsight.EzInList.js", false)%>"></script>
<link href="<%=SPContext.Current.Site.ServerRelativeUrl + SPUtility.MakeBrowserCacheSafeLayoutsUrl("folderUnderLayouts/css/easyquery.css", false)%>" rel="stylesheet" type="text/css" />
1.React JSX attribute is case sensitive.
For example, this is valid attribute "colSpan". This is not "colspan".
2.When use array to build component JSX, don't set array length to 0 to re-initiate array. Always set array to []. Set array length to 0 will keep the array reference.
3.Don't do this
Browser | App URL | Ajax URL | Works? | Reason |
---|---|---|---|---|
IE 11 | http://localhost:9000 | http://localhost:9001 | Yes | Port number is ignored by IE |
Chrome | http://localhost:9000 | http://localhost:9001 | No | different origin and doesn't handle 401 and make popup |
IE 11 | http://127.0.0.1:9000 | http://localhost:9001 | No | IE block cross origin calls |
Chrome | http://127.0.0.1:9000 | http://localhost:9001 | No | different origin and doesn't handle 401 |
https://alligator.io/vuejs/vue-eslint-plugin/
Change "Fix errors on save"
Add "text.html.vue" to "List of scopes"
source.js, source.jsx, source.js.jsx, source.babel, source.js-semantic, text.html.vue
npm install -g npm
NPM Scripts run command using binary from the packages in the current location and doesn't use the globally installed package. When using NPM scripts to run build commands, it is not necessary to install build package globally.
npm list --depth=0