Craft ID resources have two endpoints:
The site endpoint is being used when the user is not authenticated and mostly provides the login form.
- URL: https://id.craftcms.com/
- Endpoint: /src/js/site.js
- App Type: Vue App
The app endpoint is being used when the user is authenticated and provides the Craft ID app.
- URL: https://id.craftcms.com/account
- Endpoint: /src/js/app.js
- App Type: Vue App
- Copy all of the
TWIGPACK_
environment variables from/.env.example
to your/.env
file. - Copy all of the environment variables from
/web/craftnetresources/id/.env.example
to your/web/craftnetresources/id/.env
file.
Make sure the URLs and ports don’t conflict with other projects your might be running at the same time.
npm install
npm run serve
npm run build
npm run lint