Skip to content

lubomirblazekcz/nette-vite

Repository files navigation

Nette Vite Skeleton

Welcome to the Nette Web Project! This is a basic skeleton application built using Nette, ideal for kick-starting your new web projects.

Nette is a renowned PHP web development framework, celebrated for its user-friendliness, robust security, and outstanding performance. It's among the safest choices for PHP frameworks out there.

If Nette helps you, consider supporting it by making a donation. Thank you for your generosity!

Requirements

This Web Project is compatible with Nette 3.2 and requires PHP 8.1.

Installation

To install the Web Project, Composer is the recommended tool. If you're new to Composer, follow these instructions. Then, run:

composer install

Asset Building with Vite

This project supports Vite for asset building, which is recommended but optional. To activate Vite:

Set up and build the assets:

npm install
npm run build

Or run the dev server:

npm run dev

Web Server Setup

To quickly dive in, use PHP's built-in server:

composer run dev

Then, open http://localhost:8000 in your browser to view the welcome page.

For Apache or Nginx users, configure a virtual host pointing to your project's www/ directory.

Important Note: Ensure app/, config/, log/, and temp/ directories are not web-accessible. Refer to security warning for more details.

About

🛠 Starter kit of Nette used with Vite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •