{"componentChunkName":"component---src-templates-blog-post-js","path":"/queries/2020-12-27-run-nuxt-from-cli-or-app-js/","result":{"data":{"markdownRemark":{"id":"0b25239a-c6e5-5d2b-9aaa-fe75e851988c","html":"<p>Create <code>app.js</code> file and add following content.</p>\n<pre><code class=\"language-bash\">require('child_process').fork(`${__dirname}/node_modules/nuxt/bin/nuxt.js`, [\n  'start'\n])\n</code></pre>","frontmatter":{"date":"December 27, 2020","title":"Run nuxt from cli or app.js","description":"Now you can easily run a nuxt project using app.js","tags":["nuxtjs","nuxt-cli"]}}},"pageContext":{"id":"0b25239a-c6e5-5d2b-9aaa-fe75e851988c"}},"staticQueryHashes":["4080856488"]}