text: (window.webpackJsonp=window.webpackJsonp||[]).push([[17],{116:function(e,r,t){"use strict";t.d(r,"a",(function(){return b})),t.d(r,"b",(function(){return d}));var n=t(0),a=t.n(n);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function c(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?c(Object(t),!0).forEach((function(r){o(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}function i(e,r){if(null==e)return{};var t,n,a=function(e,r){if(null==e)return{};var t,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var l=a.a.createContext({}),u=function(e){var r=a.a.useContext(l),t=r;return e&&(t="function"==typeof e?e(r):p(p({},r),e)),t},b=function(e){var r=u(e.components);return a.a.createElement(l.Provider,{value:r},e.children)},f={inlineCode:"code",wrapper:function(e){var r=e.children;return a.a.createElement(a.a.Fragment,{},r)}},s=a.a.forwardRef((function(e,r){var t=e.components,n=e.mdxType,o=e.originalType,c=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),b=u(t),s=n,d=b["".concat(c,".").concat(s)]||b[s]||f[s]||o;return t?a.a.createElement(d,p(p({ref:r},l),{},{components:t})):a.a.createElement(d,p({ref:r},l))}));function d(e,r){var t=arguments,n=r&&r.mdxType;if("string"==typeof e||n){var o=t.length,c=new Array(o);c[0]=s;var p={};for(var i in r)hasOwnProperty.call(r,i)&&(p[i]=r[i]);p.originalType=e,p.mdxType="string"==typeof e?e:n,c[1]=p;for(var l=2;l<o;l++)c[l]=t[l];return a.a.createElement.apply(null,c)}return a.a.createElement.apply(null,t)}s.displayName="MDXCreateElement"},87:function(e,r,t){"use strict";t.r(r),t.d(r,"frontMatter",(function(){return c})),t.d(r,"metadata",(function(){return p})),t.d(r,"toc",(function(){return i})),t.d(r,"default",(function(){return u}));var n=t(3),a=t(7),o=(t(0),t(116)),c={title:"create-farrow-app"},p={unversionedId:"api/01-create-farrow-app",id:"api/01-create-farrow-app",isDocsHomePage:!1,title:"create-farrow-app",description:"A cli-tools for scaffolding farrow project",source:"@site/docs/api/01-create-farrow-app.md",slug:"/api/01-create-farrow-app",permalink:"/farrow-docs/build/docs/api/01-create-farrow-app",editUrl:"https://github.com/Lucifier129/farrow-docs/docs/api/01-create-farrow-app.md",version:"current",sidebar:"docs",previous:{title:"General",permalink:"/farrow-docs/build/docs/api"},next:{title:"farrow",permalink:"/farrow-docs/build/docs/api/02-farrow"}},i=[],l={toc:i};function u(e){var r=e.components,t=Object(a.a)(e,["components"]);return Object(o.b)("wrapper",Object(n.a)({},l,t,{components:r,mdxType:"MDXLayout"}),Object(o.b)("p",null,"A cli-tools for scaffolding farrow project"),Object(o.b)("blockquote",null,Object(o.b)("p",{parentName:"blockquote"},"Compatibility Note: Farrow requires Node.js version >=14.0.0.")),Object(o.b)("p",null,"With npm:"),Object(o.b)("pre",null,Object(o.b)("code",{parentName:"pre",className:"language-shell"},"$ npm init farrow-app\n")),Object(o.b)("p",null,"With yarn:"),Object(o.b)("pre",null,Object(o.b)("code",{parentName:"pre",className:"language-shell"},"$ yarn create farrow-app\n")),Object(o.b)("p",null,"Then follow the prompts!"),Object(o.b)("p",null,"Currently supported template presets include:"),Object(o.b)("ul",null,Object(o.b)("li",{parentName:"ul"},Object(o.b)("p",{parentName:"li"},Object(o.b)("inlineCode",{parentName:"p"},"farrow-only"),": only includes farrow for server-side development")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("p",{parentName:"li"},Object(o.b)("inlineCode",{parentName:"p"},"farrow-vite-react"),": includes ",Object(o.b)("inlineCode",{parentName:"p"},"farrow"),", ",Object(o.b)("inlineCode",{parentName:"p"},"vite")," and ",Object(o.b)("inlineCode",{parentName:"p"},"react")," for full stack development")),Object(o.b)("li",{parentName:"ul"},Object(o.b)("p",{parentName:"li"},Object(o.b)("inlineCode",{parentName:"p"},"farrow-next-react"),": includes ",Object(o.b)("inlineCode",{parentName:"p"},"farrow"),", ",Object(o.b)("inlineCode",{parentName:"p"},"next.js")," and ",Object(o.b)("inlineCode",{parentName:"p"},"react")," for full stack development"))))}u.isMDXComponent=!0}}]);