Download the PHP package rocketslab/jigsaw-default-template without Composer
On this page you can find all versions of the php package rocketslab/jigsaw-default-template. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rocketslab/jigsaw-default-template
More information about rocketslab/jigsaw-default-template
Files in rocketslab/jigsaw-default-template
Package jigsaw-default-template
Short Description Jigsaw Default Template
License MIT
Informations about the package jigsaw-default-template
Jigsaw Default Template
This is a default template (without any customization) to build a site with Jigsaw.
Instalation
- Install Jigsaw
After install jigsaw, run the following command from your project directory:
Composer scripts
This template comes with 2 scripts to "shortcut" jigsaw commands:
Build project:
Run a server to preview:
Building and Previewing your site
If you want build your JS and CSS assets and preview your site with Hot-Reload, just install NPM dependencies with following command:
After install run:
The command above starts a BrowserSync and keep watching for files modifications and reloads the page automatically.
Thanks!
For Brazilian Users
Este é um template padrão (sem modificações) pra criar sites com Jigsaw.
Instalação
- Instale Jigsaw
Depois de instalado, rode o comando abaixo de dentro do diretório do seu projeto:
Composer scripts
Este template vem com 2 scripts do composer como "atalhos" para comandos do jigsaw:
Gerar o projeto:
Rodar um servidor para visualizar:
Gerando e visualizando seu site
Se você quer gerar seus arquivos JS e CSS e prever o site com recarregamento automático, instale as dependências NPM com o comando abaixo:
Para ter o recarregamento automático:
O comando acima inicia uma instância do BrowserSync e fica de olho em mudanças nos arquivos do projeto e recarrega o site automaticamente toda vez que um arquivo foi modificado.
Obrigado!
Criado por Jorge Gonçalves