project setup
This commit is contained in:
20
src/utils/defaultNotes.ts
Normal file
20
src/utils/defaultNotes.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
export const defaultNotes: Note[] = [
|
||||
{
|
||||
isRoot: true,
|
||||
title: 'Your first note',
|
||||
content: `Contexted is a **relational note-taking app**. Use it as your personal knowledge base, research assistent or just to map out thoughts.\n\n
|
||||
### **How does it work?**
|
||||
* Create a new note by typing words between [[brackets]]
|
||||
* Click on **Mindmap mode** in the menu left to visualize your notes
|
||||
\n
|
||||
Let's get started!`,
|
||||
created: 0,
|
||||
modified: 0,
|
||||
},
|
||||
{
|
||||
title: 'brackets',
|
||||
content: `If you type square brackets around text a link is created automatically. Like magic!`,
|
||||
created: 0,
|
||||
modified: 0,
|
||||
},
|
||||
]
|
||||
15
src/utils/firebase.ts
Normal file
15
src/utils/firebase.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { initializeApp } from 'firebase/app'
|
||||
|
||||
// TODO: Replace the following with your app's Firebase project configuration
|
||||
const firebaseConfig: any = {
|
||||
apiKey: import.meta.env.VUE_APP_FIREBASE_API_KEY,
|
||||
authDomain: import.meta.env.VUE_APP_FIREBASE_AUTH_DOMAIN,
|
||||
databaseURL: import.meta.env.VUE_APP_FIREBASE_DATABASE_URL,
|
||||
projectId: import.meta.env.VUE_APP_FIREBASE_PROJECT_ID,
|
||||
storageBucket: import.meta.env.VUE_APP_FIREBASE_STORAGE_BUCKET,
|
||||
messagingSenderId: import.meta.env.VUE_APP_FIREBASE_MESSAGE_SENDER_ID,
|
||||
appId: import.meta.env.VUE_APP_FIREBASE_APP_ID,
|
||||
measurementId: import.meta.env.VUE_APP_FIREBASE_MEASUREMENT_ID,
|
||||
}
|
||||
|
||||
export const app = initializeApp(firebaseConfig)
|
||||
Reference in New Issue
Block a user