diff --git a/componentstacksample/oh-package.json5 b/componentstacksample/oh-package.json5 index a8b610072bfdd057f84ad643d2863cd32f930fb3..1d4c3b78e45a731ef3f7d22e4e9d6f913df86c7e 100644 --- a/componentstacksample/oh-package.json5 +++ b/componentstacksample/oh-package.json5 @@ -6,6 +6,6 @@ "author": "", "license": "", "dependencies": { - "componentstacklibrary": "file:../componentstacklibrary" + "@ohos_sample/componentstacklibrary": "file:../componentstacklibrary" } } \ No newline at end of file diff --git a/componentstacksample/src/main/ets/entryability/EntryAbility.ets b/componentstacksample/src/main/ets/entryability/EntryAbility.ets index 3b0c2e1f058fec2d6df89eb2a9bb3b7b582511e3..097d76182fef98fde27ab25a801a3725840aa6b5 100644 --- a/componentstacksample/src/main/ets/entryability/EntryAbility.ets +++ b/componentstacksample/src/main/ets/entryability/EntryAbility.ets @@ -16,7 +16,7 @@ import { ConfigurationConstant, UIAbility } from '@kit.AbilityKit'; import { hilog } from '@kit.PerformanceAnalysisKit'; import { window } from '@kit.ArkUI'; -import { ComponentStackController } from 'componentstacklibrary'; +import { ComponentStackController } from '@ohos_sample/componentstacklibrary'; const TAG = '[EntryAbility]'; diff --git a/componentstacksample/src/main/ets/pages/Index.ets b/componentstacksample/src/main/ets/pages/Index.ets index 5e02c9768f9635fcdc7c34d211749a1ea8153b2c..0d58690d3ba412fba1a8c5cc49bf08b0a04187fe 100644 --- a/componentstacksample/src/main/ets/pages/Index.ets +++ b/componentstacksample/src/main/ets/pages/Index.ets @@ -13,7 +13,7 @@ * limitations under the License. */ -import { ComponentStackComponent } from 'componentstacklibrary' +import { ComponentStackComponent } from '@ohos_sample/componentstacklibrary' @Entry @Component