Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A less opinionated vanilla install option #1294

Open
robdekort opened this issue Jan 15, 2025 · 1 comment
Open

A less opinionated vanilla install option #1294

robdekort opened this issue Jan 15, 2025 · 1 comment

Comments

@robdekort
Copy link

robdekort commented Jan 15, 2025

Someone on Discord asked for instructions on how to get a clean Statamic running without any frontend assumptions. I can imagine folks being turned down by an opinionated vanilla install. To answer their question, I figured it boils down to something like this:

  • Delete package.json
  • Delete postcss.config.js
  • Delete tailwind.config.js
  • Delete vite.config.js
  • Delete the line {{ vite src="resources/js/site.js|resources/css/site.css" }} from resources/views/layout.antlers.html.
  • Delete resources/views/home.antlers.html
  • Remove the line template: home from content/collections/pages/home.md

Perhaps during install this option could be presented as:

  1. an official vanilla starter kit you can pick when installing Statamic via the CLI;
  2. the default statamic/statamic (with statamic/tailwind kits as one of the alternatives) or
  3. some other option.

Curious to thoughts on this.

@andjsch
Copy link

andjsch commented Jan 16, 2025

I'd support that. I think the best way to do so would be stripping everything out of the statamic/statamic repo and make that available as a starter kit. Would be a good fit for the installer and even welcome for other starter kits as they wouldn't need to remove the default stuff that is there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants