Skip to content

Instantly share code, notes, and snippets.

@matthewmueller
Created November 8, 2012 02:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewmueller/4036054 to your computer and use it in GitHub Desktop.
Save matthewmueller/4036054 to your computer and use it in GitHub Desktop.
component example.html snippet
<snippet>
<content><![CDATA[
<html>
<head>
<title>${1} component</title>
<link rel="stylesheet" href="../build/build.css">
</head>
<body>
<h1>$1 component</h1>
<script src="../build/build.js" type="text/javascript"></script>
<script type="text/javascript">
var $1 = require('$1');
$0
</script>
</body>
</html>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>component</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>text.html</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment