Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 832

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
(window.webpackJsonp=window.webpackJsonp||[]).push([[218],{511:function(t,e,a){"use strict";a.r(e);var r=a(7),s=Object(r.a)({},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("div",{staticClass:"pb-8 border-b border-gray-300"},[a("h1",[t._v("Contributte Webpack-skeleton")]),t._v(" "),a("div"),t._v(" "),a("div",{staticClass:"flex flex-col space-y-2 mt-2"},[a("div",{staticClass:"flex flex-row space-x-2 items-center"},[a("img",{staticClass:"opacity-50",attrs:{loading:"lazy",src:"https://obr.vercel.app/fa/b/github/16"}}),t._v(" "),a("a",{attrs:{href:"https://github.com/contributte/webpack-skeleton"}},[t._v("github.com/contributte/webpack-skeleton")])]),t._v(" "),a("div",{staticClass:"flex flex-row space-x-2 items-center"},[a("img",{staticClass:"opacity-50",attrs:{loading:"lazy",src:"https://obr.vercel.app/fa/s/download/16"}}),t._v(" "),a("a",{attrs:{href:"https://packagist.org/packages/contributte/webpack-skeleton",target:"_blank"}},[t._v("packagist.org/packages/contributte/webpack-skeleton")])])])]),t._v(" "),a("p",[a("img",{attrs:{src:"https://heatbadger.now.sh/github/readme/contributte/webpack-skeleton/",alt:""}})]),t._v(" "),a("p",{attrs:{align:"center"}},[a("a",{attrs:{href:"https://github.com/contributte/webpack-skeleton/actions"}},[a("img",{attrs:{src:"https://badgen.net/github/checks/contributte/webpack-skeleton/master"}})]),t._v(" "),a("a",{attrs:{href:"https://coveralls.io/r/contributte/webpack-skeleton"}},[a("img",{attrs:{src:"https://badgen.net/coveralls/c/github/contributte/webpack-skeleton"}})]),t._v(" "),a("a",{attrs:{href:"https://packagist.org/packages/contributte/webpack-skeleton"}},[a("img",{attrs:{src:"https://badgen.net/packagist/dm/contributte/webpack-skeleton"}})]),t._v(" "),a("a",{attrs:{href:"https://packagist.org/packages/contributte/webpack-skeleton"}},[a("img",{attrs:{src:"https://badgen.net/packagist/v/contributte/webpack-skeleton"}})])]),t._v(" "),a("p",{attrs:{align:"center"}},[a("a",{attrs:{href:"https://packagist.org/packages/contributte/webpack-skeleton"}},[a("img",{attrs:{src:"https://badgen.net/packagist/php/contributte/webpack-skeleton"}})]),t._v(" "),a("a",{attrs:{href:"https://github.com/contributte/webpack-skeleton"}},[a("img",{attrs:{src:"https://badgen.net/github/license/contributte/webpack-skeleton"}})]),t._v(" "),a("a",{attrs:{href:"https://bit.ly/ctteg"}},[a("img",{attrs:{src:"https://badgen.net/badge/support/gitter/cyan"}})]),t._v(" "),a("a",{attrs:{href:"https://bit.ly/cttfo"}},[a("img",{attrs:{src:"https://badgen.net/badge/support/forum/yellow"}})]),t._v(" "),a("a",{attrs:{href:"https://contributte.org/partners.html"}},[a("img",{attrs:{src:"https://badgen.net/badge/sponsor/donations/F96854"}})])]),t._v(" "),a("p",{attrs:{align:"center"}},[t._v("\nWebsite 🚀 "),a("a",{attrs:{href:"https://contributte.org"}},[t._v("contributte.org")]),t._v(" | Contact 👨🏻‍💻 "),a("a",{attrs:{href:"https://f3l1x.io"}},[t._v("f3l1x.io")]),t._v(" | Twitter 🐦 "),a("a",{attrs:{href:"https://twitter.com/contributte"}},[t._v("@contributte")])]),t._v(" "),a("p",{attrs:{align:"center"}},[a("img",{attrs:{src:"https://api.microlink.io?url=https%3A%2F%2Fexamples.contributte.org%2Fwebpack-skeleton%2F&overlay.browser=light&screenshot=true&meta=false&embed=screenshot.url"}})]),t._v(" "),a("hr"),t._v(" "),a("h2",{attrs:{id:"goal"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#goal"}},[t._v("#")]),t._v(" Goal")]),t._v(" "),a("p",[t._v("Main goal is to provide webpack starter-kit project for Nette developers.")]),t._v(" "),a("h2",{attrs:{id:"demo"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#demo"}},[t._v("#")]),t._v(" Demo")]),t._v(" "),a("p",[a("a",{attrs:{href:"https://examples.contributte.org/webpack-skeleton/",target:"_blank",rel:"noopener noreferrer"}},[t._v("https://examples.contributte.org/webpack-skeleton/"),a("OutboundLink")],1)]),t._v(" "),a("h2",{attrs:{id:"installation"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#installation"}},[t._v("#")]),t._v(" Installation")]),t._v(" "),a("p",[t._v("You will need "),a("code",[t._v("PHP 8.1+")]),t._v(" and "),a("a",{attrs:{href:"https://getcomposer.org/",target:"_blank",rel:"noopener noreferrer"}},[t._v("Composer"),a("OutboundLink")],1),t._v(".")]),t._v(" "),a("p",[t._v("Create project using composer.")]),t._v(" "),a("div",{staticClass:"language-bash line-numbers-mode"},[a("pre",{pre:!0,attrs:{class:"language-bash"}},[a("code",[a("span",{pre:!0,attrs:{class:"token function"}},[t._v("composer")]),t._v(" create-project -s dev contributte/webpack-skeleton acme\n")])]),t._v(" "),a("div",{staticClass:"line-numbers-wrapper"},[a("span",{staticClass:"line-number"},[t._v("1")]),a("br")])]),a("p",[t._v("Install Composer dependencies: "),a("code",[t._v("composer install")]),t._v(" or "),a("code",[t._v("make install")])]),t._v(" "),a("p",[t._v("Install NPM dependencies: "),a("code",[t._v("npm install")]),t._v(" or "),a("code",[t._v("make install")])]),t._v(" "),a("p",[t._v("Now you have application installed. It's time to run it.")]),t._v(" "),a("h2",{attrs:{id:"startup"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#startup"}},[t._v("#")]),t._v(" Startup")]),t._v(" "),a("p",[a("strong",[t._v("Backend")])]),t._v(" "),a("p",[t._v("The easiest way is to use php built-in web server.")]),t._v(" "),a("div",{staticClass:"language-bash line-numbers-mode"},[a("pre",{pre:!0,attrs:{class:"language-bash"}},[a("code",[t._v("php -S "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.0")]),t._v(".0.0:8000 -t www\n")])]),t._v(" "),a("div",{staticClass:"line-numbers-wrapper"},[a("span",{staticClass:"line-number"},[t._v("1")]),a("br")])]),a("p",[t._v("Or via "),a("code",[t._v("make dev")]),t._v(".")]),t._v(" "),a("p",[t._v("Then visit "),a("a",{attrs:{href:"http://localhost:8000",target:"_blank",rel:"noopener noreferrer"}},[t._v("http://localhost:8000"),a("OutboundLink")],1),t._v(" in your browser.")]),t._v(" "),a("p",[a("strong",[t._v("Frontend")])]),t._v(" "),a("p",[t._v("If you want to compile assets, call "),a("code",[t._v("npm run start")]),t._v(".")]),t._v(" "),a("p",[t._v("If you need watcher, call "),a("code",[t._v("npm run watch")]),t._v(", it will watch your codebase and rebuild assets.")]),t._v(" "),a("p",[t._v("If you want build for production, call "),a("code",[t._v("npm run build")]),t._v(".")]),t._v(" "),a("p",[t._v("If you want start webpack development server with HRM, call "),a("code",[t._v("npm run dev")]),t._v(", open "),a("a",{attrs:{href:"http://localhost:8080",target:"_blank",rel:"noopener noreferrer"}},[t._v("http://localhost:8080"),a("OutboundLink")],1),t._v(" in your browser.")]),t._v(" "),a("p",[t._v("Or via "),a("code",[t._v("make webpack")]),t._v(".")]),t._v(" "),a("h2",{attrs:{id:"features"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#features"}},[t._v("#")]),t._v(" Features")]),t._v(" "),a("ul",[a("li",[t._v("👍 Nette 3+")]),t._v(" "),a("li",[t._v("👍 Webpack 5+\n"),a("ul",[a("li",[t._v("🎉 extracting JS to single bundle")]),t._v(" "),a("li",[t._v("🎉 extracting CSS to single file")]),t._v(" "),a("li",[t._v("🎉 more bundles (front/admin/vendor)")])])]),t._v(" "),a("li",[t._v("👍 Snippets\n"),a("ul",[a("li",[t._v("🎉 few snippets")])])]),t._v(" "),a("li",[t._v("👍 Nette Form\n"),a("ul",[a("li",[t._v("🎉 AJAX submitting")]),t._v(" "),a("li",[t._v("🎉 form builder\n"),a("ul",[a("li",[t._v("empty value on control ("),a("code",[t._v("@")]),t._v(" in email)")]),t._v(" "),a("li",[t._v("validation rules (filled + email)")]),t._v(" "),a("li",[t._v("simple filter (transform email to lowercase)")]),t._v(" "),a("li",[t._v("onValidate / onSubmit / onSuccess")])])]),t._v(" "),a("li",[t._v("🎉 manual rendering\n"),a("ul",[a("li",[t._v("success snippet / error snippet")]),t._v(" "),a("li",[t._v("required class on form-group")]),t._v(" "),a("li",[t._v("description on control")])])])])])]),t._v(" "),a("h2",{attrs:{id:"screenshots"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#screenshots"}},[t._v("#")]),t._v(" Screenshots")]),t._v(" "),a("p",{attrs:{align:"center"}},[a("img",{attrs:{src:"https://raw.githubusercontent.com/contributte/webpack-skeleton/master/.docs/webpack.png"}})]),t._v(" "),a("p",{attrs:{align:"center"}},[a("img",{attrs:{src:"https://raw.githubusercontent.com/contributte/webpack-skeleton/master/.docs/phpserver.png"}})]),t._v(" "),a("p",{attrs:{align:"center"}},[a("img",{attrs:{src:"https://raw.githubusercontent.com/contributte/webpack-skeleton/master/.docs/web.png"}})]),t._v(" "),a("h2",{attrs:{id:"development"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#development"}},[t._v("#")]),t._v(" Development")]),t._v(" "),a("p",[t._v("See "),a("a",{attrs:{href:"https://contributte.org/contributing.html",target:"_blank",rel:"noopener noreferrer"}},[t._v("how to contribute"),a("OutboundLink")],1),t._v(" to this package.")]),t._v(" "),a("p",[t._v("This package is currently maintaining by these authors.")]),t._v(" "),a("a",{attrs:{href:"https://github.com/f3l1x"}},[a("img",{attrs:{width:"80",height:"80",src:"https://avatars2.githubusercontent.com/u/538058?v=3&s=80"}})]),t._v(" "),a("hr"),t._v(" "),a("p",[t._v("Consider to "),a("a",{attrs:{href:"https://contributte.org/partners.html",target:"_blank",rel:"noopener noreferrer"}},[t._v("support"),a("OutboundLink")],1),t._v(" "),a("strong",[t._v("contributte")]),t._v(" development team. Also thank you for using this project.")])])}),[],!1,null,null,null);e.default=s.exports}}]);