create-sveltekit-auth0
v0.0.6
Published
A CLI tool to add Auth0 to you Sveltekit Project
Downloads
7
Maintainers
Readme
Welcome to create-sveltekit-auth0 👋
A CLI tool to add Auth0 to you Sveltekit Project
🏠 Homepage
Install
npx create-sveltekit-auth0
Dependency Install
Auto installs npm install @auth0/auth0-spa-js
Auto installs npm install
CLI Questions
Enter the CLI questions whhich will create a new NEW-README.md
that has more detail than the svelte generated one. It can be used in place of the Svelte generated one or simply delete it. The required files will be added to your project.
Created Directories/Files
- Created directories (if they don't already exist)
./src/lib/auth
./src/lib/components
- Created files or if they exist, they will be prepended to.
NEW-README.md
RENAME.env
auth0_config.js
auth0_service.js
authStore.js
NavbarAuth0.svelte
SveltekitAuth0.svelte
__layout.svelte
Todo's after CLI install
- Rename
RENAME.env
to.env
or copy contents to existing.env
- Edit .env variables with your Auth0 account credentials
- Rename
NEW-README.md
toREADME.md
or copy desired contents to existingREADME.md
npm run dev
- Style the Login & Logout Buttons anyway you'd like.
- Enjoy the creating and if you have any issues, visit my github repo and create an issue.
Author
👤 Lee Charles Laing [email protected]
- Github: @lcharleslaing
- LinkedIn: @https://www.linkedin.com/in/lee-charles-laing/
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support 🍵 or 🥪 = 😁😊
Give a ⭐️ if this project helped you out made life just a tiny bit easier!
I'd be super grateful if you felt like buying me a "Coffee🍵or Sandwich🥪"
📝 License
Copy-Right/Copy-Claim 2022 :Lee-Charles :Laing: [email protected].
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator