This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 <script setup>
SFCs, check out the script setup docs to learn more.
-
VS Code + Vue - Official (previously Volar) and disable Vetur
-
Use vue-tsc for performing the same type checking from the command line, or for generating d.ts files for SFCs.
if (await manager.FindByClientIdAsync("vueclient") is null)
{
await manager.CreateAsync(new OpenIddictApplicationDescriptor
{
ClientId = "vueclient",
ConsentType = ConsentTypes.Explicit,
DisplayName = "vue client PKCE",
DisplayNames =
{
[CultureInfo.GetCultureInfo("fr-FR")] = "Application cliente MVC"
},
PostLogoutRedirectUris =
{
new Uri("https://localhost:5173"),
new Uri("https://localhost:5173/logout-callback")
},
RedirectUris =
{
new Uri("https://localhost:5173/callback")
},
Permissions =
{
Permissions.Endpoints.Authorization,
Permissions.Endpoints.Logout,
Permissions.Endpoints.Token,
Permissions.Endpoints.Revocation,
Permissions.GrantTypes.AuthorizationCode,
Permissions.GrantTypes.RefreshToken,
Permissions.ResponseTypes.Code,
Permissions.Scopes.Email,
Permissions.Scopes.Profile,
Permissions.Scopes.Roles,
Permissions.Prefixes.Scope + "dataEventRecords"
},
Requirements =
{
Requirements.Features.ProofKeyForCodeExchange
}
});
}