dfinity / sdk

IC SDK: a Software Development Kit for creating and managing canister smart contracts on the ICP blockchain.
https://internetcomputer.org/developers
Apache License 2.0
178 stars 86 forks source link

`--no-frontend` flag #2771

Closed letmejustputthishere closed 9 months ago

letmejustputthishere commented 2 years ago

I tried the following:

  1. dfx new --no-frontend

I expected to see this happen: No asset canister present, no entries in dfx.json

Instead, this happened: Asset canister and entrie present.

Meta

dfx --version:

0.12.0
Further log output

``` ```

letmejustputthishere commented 2 years ago

if this behaviour is changed, we need to update this tutorial and remove the step where we delete the frontend canister from dfx.json

sesi200 commented 2 years ago

The tutorial is still correct. We hope that this situation will be improved once dfx extensions land

domwoe commented 2 years ago

dfx new --no-frontend has no associated explanation in dfx new and doesn't work as expected (There should be no asset canister in dfx.json and no src/xxx_frontend.) as @letmejustputthishere noted.