How to Run the Project After Cloning the Repository Locally #225
-
Hi @manchenkoff Can I ask a question? I'm cloning the repo to my local machine and want to play with it. Can you help me figure out how to run it locally? Should I just run npm install followed by npm run dev? Also, if I add another folder to the src directory with a simple script or function, how do I call that function in the playground folder and access it from the Vue pages? Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @ezekel! Sure thing, you can find all the details about the environment in
For instance, if you want to add a new composable function, it will be available in |
Beta Was this translation helpful? Give feedback.
Hey @ezekel! Sure thing, you can find all the details about the environment in
CONTRIBUTING.md
. If you want to start a playground thenpnpm dev
should be enough.For instance, if you want to add a new composable function, it will be available in
#imports
after the build and you can import it in your component or page. You can checkpages/login.vue
as an example of theuseSanctumAuth
import. The same will be true forutils
and other directories that are supported by Nuxt. However, if you want to create a random file in…