becem-gharbi / directus-starter Goto Github PK
View Code? Open in Web Editor NEWDirectus starter for Nuxt 3
License: MIT License
Directus starter for Nuxt 3
License: MIT License
Hi!
Thanks for this starter!!
Quick question: if SSO signin is successful it is redirected to the callback.vue component. However, that component does nothing as far as I'm concerned. What should it do?
Regards,
Kees.
Hi! I can't run your starter project. I suspect it is an issue in your naiveui module, but unsure.
When I run pnpm dev
I get this stack:
ERROR Cannot read properties of undefined (reading 'push') 1:30:49 PM
at prepare:types (node_modules/.pnpm/@[email protected]/node_modules/@bg-dev/nuxt-naiveui/dist/module.mjs:27:38)
at node_modules/.pnpm/[email protected]/node_modules/hookable/dist/index.mjs:48:66
at Object.run (node_modules/.pnpm/[email protected]/node_modules/hookable/dist/index.mjs:41:43)
at node_modules/.pnpm/[email protected]/node_modules/hookable/dist/index.mjs:48:56
at async writeTypes (node_modules/.pnpm/@[email protected]/node_modules/@nuxt/kit/dist/index.mjs:2872:3)
at async Object.run (node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/chunks/prepare.mjs:70:5)
at async runCommand$1 (node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.51fb54b9.mjs:1644:5)
at async runCommand$1 (node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.51fb54b9.mjs:1638:7)
at async runMain$1 (node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.51fb54b9.mjs:1756:7)
ERROR Cannot read properties of undefined (reading 'push') 1:30:49 PM
ERROR Command failed with exit code 1.
Hi, i'm getting the error:
ERROR Cannot start nuxt: Missing "./esm/formatInTimeZone" specifier in "date-fns-tz" package
After running npm install and then npm run dev.
Any idea what is causing this?
This might be a misconfiguration on my end but I could not find anything straight-forward to guide.
Issue Description:
When using Directus with a separate front-end application (this starter template), I encountered an issue where upon refreshing the page after login, I am redirected back to the login screen.
Expected Behavior:
After successful login, I expect to remain authenticated and not be redirected to the login screen upon page refresh.
Actual Behavior:
After logging in and refreshing the page, the authentication state is not persisted, and I am redirected to the login screen again.
At this point, the refresh cookie that was set is removed/deleted and login status set to false
Steps to Reproduce:
Additional Context:
Environment:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.