nuxt! But, it is much easier than configuring
webpackand other common tools. We will try to cover the most important parts here.
nuxtloader at build time inside
config/.envfile because it is ignored and excluded from
git. In this case, you will just need to copy
config/.env.templateand fill in all values that you need:
config/.envis kept secret!
API_URLrepresent your API server base url. It is used as a base url for all relative urls we use to make
nuxtinstead of a regular
axiosbecause there are tons of goodies that are already included: retries, loading indicators, server-side proxy calls,
httpsenforcement, and so on.
cssclasses names during tests
setupFilesis used to specify which files will be executed before all tests
moduleFileExtensionsspecifies which module we can safely import from
transformspecifies which parsers to use when importing different files
package.jsonitself. Here's a list of these tools.