mirror of
https://github.com/jaywcjlove/reference.git
synced 2025-06-18 05:01:21 +08:00
doc: update npm.md db647aaf35
This commit is contained in:
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 1.2 MiB |
@ -346,7 +346,7 @@
|
|||||||
</span><span class="code-line">$ npx react-native init AwesomeTSProject <span class="token parameter variable">--template</span> react-native-template-typescript
|
</span><span class="code-line">$ npx react-native init AwesomeTSProject <span class="token parameter variable">--template</span> react-native-template-typescript
|
||||||
</span></code></pre>
|
</span></code></pre>
|
||||||
<!--rehype:className=wrap-text-->
|
<!--rehype:className=wrap-text-->
|
||||||
<p>使用 <code>npx</code> 直接创建一个 <a href="(https://reactnative.dev/docs/environment-setup#creating-a-new-application)">React Native</a> 应用</p>
|
<p>使用 <code>npx</code> 直接创建一个 <a href="https://reactnative.dev/docs/environment-setup#creating-a-new-application">React Native</a> 应用</p>
|
||||||
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="创建一个-react-应用"><a aria-hidden="true" tabindex="-1" href="#创建一个-react-应用"><span class="icon icon-link"></span></a>创建一个 React 应用</h3><div class="wrap-body">
|
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="创建一个-react-应用"><a aria-hidden="true" tabindex="-1" href="#创建一个-react-应用"><span class="icon icon-link"></span></a>创建一个 React 应用</h3><div class="wrap-body">
|
||||||
<pre class="wrap-text"><code class="language-bash code-highlight"><span class="code-line">$ npx create-react-app my-app
|
<pre class="wrap-text"><code class="language-bash code-highlight"><span class="code-line">$ npx create-react-app my-app
|
||||||
</span><span class="code-line">$ npx create-react-app my-app <span class="token parameter variable">--template</span> typescript
|
</span><span class="code-line">$ npx create-react-app my-app <span class="token parameter variable">--template</span> typescript
|
||||||
|
Reference in New Issue
Block a user