In order to have a default style for all elements I have to add the “semantic-ui-css”.
After installing with the following command I cannot build anymore: npm install semantic-ui-css --save
.\build.ps1 ERROR in ./node_modules/ERROR in ./node_modules/semantic-ui-css/themes/default/assets/images/flags.png 1:0 Module parse failed: Unexpected character ‘�’ (1:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders (Source code omitted for this binary file)
@ ./components/index.js/themes/default/assets/images/flags.png 1:0* Module parse failed: Unexpected character ‘�’ (1:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders (Source code omitted for this binary file)
excellent the build is now working including just a few new warnings
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
962a1bf31c081691065fe333d9fa8105.svg (382 KiB)
a1a749e89f578a49306ec2b055c073da.svg (496 KiB)
index.25ed329d89411462e0f8.bundle.js (665 KiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
index (665 KiB)
index.25ed329d89411462e0f8.bundle.js
WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit Code Splitting | webpack
Now it look better but CSS is not fully working but better than before.
I will work on it.