Skip to content

Angular demo app does not work #2833

@asarapas

Description

@asarapas

Angular Demo app does not compile or start. After updating gridstack version from 10.3.1 to 11.0.0 getting error:
[plugin:vite:import-analysis] Failed to resolve import "gridstack/dist/angular" from ".angular/vite-root/stacks-demo-2/main.js". Does the file exist?
src/app/app.module.ts:6:52
112|
113| // src/app/app.module.ts
114| import { GridstackModule, GridstackComponent } from "gridstack/dist/angular";
| ^
115|
116| // src/app/dummy.component.ts

Using

Chrome on

Steps to reproduce

Download source of the project. Navigate to angular subfolder. Run "yarn install && npm run demo"

Expected behavior

Demo app should run and everything should work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions