prismaui / prismaui

Prismaui Component Library
0 stars 0 forks source link

Unable to find Module '@prismaui/angular' #6

Open grantwforsythe opened 6 months ago

grantwforsythe commented 6 months ago

Overview

I am unable to access the contents of the @prismaui/angular package in my Angular application. Perhaps this is a namespacing issue? Although, it appears everything is being imported correctly from the component library.

Reproduce

  1. Create a new Angular project
    npx -p @angular/cli@16.0.0 ng new my-app --no-standalone
  2. Install the package
    cd my-app
    npm i @prismaui/angular
  3. Try to import the package in app.module.ts

    import { NgModule } from '@angular/core';
    import { BrowserModule } from '@angular/platform-browser';
    
    import { AppComponent } from './app.component';
    import { PrismauiModule } from '@prismaui/angular';
    
    @NgModule({
     declarations: [AppComponent],
     imports: [BrowserModule],
     providers: [],
     bootstrap: [AppComponent],
    })
    export class AppModule {}

    Versions

    Angular v16.0.0 Node v18.18.2 Npm 9.8.1

mehrabix commented 6 months ago

Hi, I think it's PrmModule instead of PrismauiModule

Have you tried?