You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
an official vanilla starter kit you can pick when installing Statamic via the CLI;
the default statamic/statamic (with statamic/tailwind kits as one of the alternatives) or
some other option.
Curious to thoughts on this.
The text was updated successfully, but these errors were encountered:
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.
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:
package.json
postcss.config.js
tailwind.config.js
vite.config.js
{{ vite src="resources/js/site.js|resources/css/site.css" }}
fromresources/views/layout.antlers.html
.resources/views/home.antlers.html
template: home
fromcontent/collections/pages/home.md
Perhaps during install this option could be presented as:
statamic/statamic
(withstatamic/tailwind
kits as one of the alternatives) orCurious to thoughts on this.
The text was updated successfully, but these errors were encountered: