Skip to content

Instantly share code, notes, and snippets.

@devdays
Created December 18, 2014 20:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devdays/590d47c9ab44eacd0485 to your computer and use it in GitHub Desktop.
Save devdays/590d47c9ab44eacd0485 to your computer and use it in GitHub Desktop.
Single Page App - Main page
<!DOCTYPE html>
<html>
<head>
<title>Load Text Template</title>
</head>
<body>
<script src='require.js'></script>
<script>
requirejs.config({
baseUrl: 'Scripts',
paths: {
"_": "Scripts/lodash"
},
map: {
'*': { 'underscore': 'lodash' }
}
});
// Your code goes here
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment