tvl-depot/boilerplate
William Carroll 3ff6ae3697 Use Parcel's --public-url option when building
By default Parcel prefixes output paths with /. So when Chrome loads
wpcarro.dev/goals it attempts to get the CSS and JS and other assets from
wpcarro.dev/ instead of wpcarro.dev/goals/. Using the --public-url ./ option
makes Parcel output relative paths, which should work better for my needs.
2020-03-25 17:18:51 +00:00
..
typescript Use Parcel's --public-url option when building 2020-03-25 17:18:51 +00:00
README.md Support boilerplate for TypeScript projects 2020-03-23 22:43:36 +00:00

Boilerplate

Storing some boilerplate code to help me reduce the time it takes me to develop and deploy applications.

Usage

Let's say that you would like to create a game for sandbox.wpcarro.dev/game. We will create a new TypeScript project with the following:

$ cp ~/briefcase/boilerplate/typescript ~/briefcase/website/sandbox/game

This initializes the project. To start developing, run:

$ nix-shell
$ yarn run dev