Zorg dat je OTP token hebt uitgevoerd in:
npm install @johnnybossboy/template-reactZorg dat je OTP token hebt uitgevoerd in:
echo "//registry.npmjs.org/:_authToken=TOKENHIER" >> ~/.npmrc
When this package is installed,
create configProject.tsx and append the follow example code:
import { styleVariablesDefaultTemplate, configVariablesDefaultTemplate, configFirebaseDefaultTemplate } from "@johnnybossboy/template-react";
export const styleVariables = {
...styleVariablesDefaultTemplate,
// own styles
};
export const configVariables = {
...configVariablesDefaultTemplate,
// own config properties
};
export const configFirebase = {
...configFirebaseDefaultTemplate,
apiKey: 'YOUR_API_KEY',
authDomain: 'YOUR_AUTH_DOMAIN',
databaseURL: 'YOUR_DB_URL',
projectId: 'YOUR_PROJECT_ID',
storageBucket: 'YOUR_STORAGE_BUCKET',
messagingSenderId: 'YOUR_MESSAGE_Sender',
appId: 'YOUR_APP_ID',
measurementId: 'YOUR_MEASUREMENT_ID'
};