-
-
Notifications
You must be signed in to change notification settings - Fork 375
FAQs
The Readme in Github points to master in preact-cli and that is the development branch so it's possible that some commands may still not be available in the last version but as soon as there is a bump in the version they will available. You can always rely on the Readme in NPM.
We have a plugin for that preact-cli-sw-precache and this allows you customize SW as you please.
You can change the template being used to render your webiste with the -template
flag.
This is the default one and you can add your missing scripts here.
And change your package.json from:
preact build
to
preact build --template my-template.html
And
preact watch
to
preact watch --template my-template.html
Sure you can man ! You can either edit the preact.config.js
like in here or install the plugin that will read from your postcss.config.js
As you may have guessed we have plugins for that this is the one for Flow and this is the one for typescript.
So far no , we are discussing that right here so you can join in the discussion.
Well in our idea this is more of a personal decision. First of all we know that not all websites will need a state manager and secondly building for one will cause more issues for the people using the other one so we made this stay in user land so you can you do as you please
At the moment no because we feel like we have the needed flexibility but if you believe there sgould be one please speak up in this issue.
Well we have a Config Recipes that you can look for some inspiration and if you need more help feel free to reach out.
The preact team is on Slack and you can get an invite here