You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2018/09/12 12:25:01 UTC
svn commit: r1840670 - in /cordova/site/public:
docs/en/dev/guide/cli/template.html feed.xml
Author: steven
Date: Wed Sep 12 12:25:01 2018
New Revision: 1840670
URL: http://svn.apache.org/viewvc?rev=1840670&view=rev
Log:
Updated docs
Modified:
cordova/site/public/docs/en/dev/guide/cli/template.html
cordova/site/public/feed.xml
Modified: cordova/site/public/docs/en/dev/guide/cli/template.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/guide/cli/template.html?rev=1840670&r1=1840669&r2=1840670&view=diff
==============================================================================
--- cordova/site/public/docs/en/dev/guide/cli/template.html (original)
+++ cordova/site/public/docs/en/dev/guide/cli/template.html Wed Sep 12 12:25:01 2018
@@ -2499,7 +2499,7 @@ $ cordova create hello com.example.hello
<h2>Create a Template</h2>
-<p>Begin by creating a cordova app that will become the basis for your template. Then you'll take the contents of your app and put them into the following structure. When your template is used, all of the contents within <code>template_src</code> will be used to create the new project, so be sure to include any necessary files in that folder. Reference <a href="https://github.com/apache/cordova-template-reference">this example</a> for details.</p>
+<p>Begin by creating a cordova app that will become the basis for your template. Then you'll take the contents of your app and put them into the following structure. When your template is used, all of the contents within <code>template_src</code> will be used to create the new project, so be sure to include any necessary files in that folder. Reference <a href="https://github.com/apache/cordova-app-hello-world">this example</a> for details.</p>
<div class="highlight"><pre><code class="language-" data-lang="">template_package/
âââ package.json (optional; needed to publish template on npm)
âââ index.js (required)
@@ -2507,7 +2507,7 @@ $ cordova create hello com.example.hello
âââ CONTENTS OF APP TEMPLATE
</code></pre></div>
<blockquote>
-<p><strong>NOTE</strong>: <code>index.js</code> should export a reference to <code>template_src</code> and <code>package.json</code> should reference <code>index.js</code>. See <a href="https://github.com/apache/cordova-template-reference">the example</a> for details on how that is done.</p>
+<p><strong>NOTE</strong>: <code>index.js</code> should export a reference to <code>template_src</code> and <code>package.json</code> should reference <code>index.js</code>. See <a href="https://github.com/apache/cordova-app-hello-world">the example</a> for details on how that is done.</p>
</blockquote>
<p>To finish off your template, edit <code>package.json</code> to contain the keyword <code>"cordova:template"</code>.</p>
Modified: cordova/site/public/feed.xml
URL: http://svn.apache.org/viewvc/cordova/site/public/feed.xml?rev=1840670&r1=1840669&r2=1840670&view=diff
==============================================================================
--- cordova/site/public/feed.xml (original)
+++ cordova/site/public/feed.xml Wed Sep 12 12:25:01 2018
@@ -6,8 +6,8 @@
</description>
<link>https://cordova.apache.org/</link>
<atom:link href="https://cordova.apache.org/feed.xml" rel="self" type="application/rss+xml"/>
- <pubDate>Wed, 12 Sep 2018 01:49:38 +0000</pubDate>
- <lastBuildDate>Wed, 12 Sep 2018 01:49:38 +0000</lastBuildDate>
+ <pubDate>Wed, 12 Sep 2018 11:56:46 +0000</pubDate>
+ <lastBuildDate>Wed, 12 Sep 2018 11:56:46 +0000</lastBuildDate>
<generator>Jekyll v2.5.3</generator>
<item>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org