Add tailwindcss, add first page
Signed-off-by: Louis Hollingworth <louis@hollingworth.ch>
This commit is contained in:
parent
db9fa44439
commit
2e98cb39f4
8 changed files with 1265 additions and 8 deletions
9
server/index.ts
Normal file
9
server/index.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import mongoose from 'mongoose';
|
||||
const runtimeConfig = useRuntimeConfig();
|
||||
import {Nitro} from 'nitropack';
|
||||
|
||||
export default async (_nitroApp: Nitro) => {
|
||||
mongoose.connect(runtimeConfig.mongoUri)
|
||||
.then(() => console.log('connected to db'))
|
||||
.catch(err => console.log('error connecting to db', err));
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue