Skip to content

Commit

Permalink
Adjust asset paths now the default build tool is Vite (#133)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Varga <[email protected]>
  • Loading branch information
duncanmcclean and jasonvarga committed Jun 5, 2023
1 parent ac12caf commit ea7f66b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Deployments are triggered by committing to Git and pushing to GitHub.

- Create a site in your [Netlify](https://netlify.com) account
- Link the site to your desired GitHub repository
- Add build command `php please ssg:generate` (if you need to compile css/js, be sure to add that command too and execute it before generating the static site folder. e.g. `npm install && npm run prod && php please ssg:generate`).
- Add build command `php please ssg:generate` (if you need to compile css/js, be sure to add that command too and execute it before generating the static site folder. e.g. `npm install && npm run build && php please ssg:generate`).
- Set publish directory `storage/app/static`

After your site has an APP_URL...
Expand Down
6 changes: 2 additions & 4 deletions config/ssg.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,11 @@
*/

'copy' => [
public_path('css') => 'css',
public_path('js') => 'js',
public_path('build') => 'build',
],

'symlinks' => [
// public_path('css') => 'css',
// public_path('js') => 'js',
// public_path('build') => 'build',
],

/*
Expand Down

0 comments on commit ea7f66b

Please sign in to comment.