const useDirProject = () => { const url = new URL(import.meta.url) const path = url.pathname console.log(path) } export default useDirProject