Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

An example of using Parcel.js with Symfony 4 and the Twig templating system

Purpose

I made this project as part of a tutorial that describes how to use Parcel.js with Symfony 4 and the Twig templating system.

NOTE: this project has only been tested on OSX.

Instructions

Prerequisites

  • A local installation of the Composer dependency manager
  • A local installation of NodeJs 12.14.1+. I've included an .nvmrc file for those people that are using NVM

Install dependencies

Navigate to the project root and run the following command:

composer install
npm install
npm install parcel-bundler -g

Running the project in development mode (including file watching)

composer run-local-dev

Your project should be available at http://localhost:8000

Running the project in production mode (minification, but no file watching)

composer run-local-prod

Your project should be available at http://localhost:8000

About

An example of using Parcel.js with Symfony 4 and Twig templates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published