This is just for education.
There is a simple example of Nette Framework with jQuery 3, bootstrap 4 and Naja. Naja is modern ES6-like library for Nette snippets ajaxification.
These assets are compiled and bundled together with Webpack.
- Nette 3.0+
- PHP 7.3+
git clone https://github.com/nette/examples.gitcd Webpack/cp app/config/config.local.neon.dist app/config/config.local.neoncomposer installnpm installnpm run devphp -S 0.0.0.0:8000 -t www
npm run build
- ๐ Nette 3.0
- ๐ Webpack configuration
- ๐ extracting JS to single bundle
- ๐ extracting CSS to single file
- ๐ more bundles (front/admin/vendor)
- ๐ Snippets
- ๐ few snippets
- ๐ Nette Form
- ๐ AJAX submitting
- ๐ form builder
- empty value on control (
@in email) - validation rules (filled + email)
- simple filter (transform email to lowercase)
- onValidate / onSubmit / onSuccess
- empty value on control (
- ๐ manual rendering
- success snippet / error snippet
- required class on form-group
- description on control
- โ pure sendPayload method
- โ dynamic snippets ( + snippetArea )
- โ Vue.js component


