行番号なしのコード表記について実験する記事
試しにこうしてみると?
$ npx create-next-app --ts --use-npm cognito-user-manager $ cd cognito-user-manager $ npx create-next-app --ts --use-npm cognito-user-manager $ cd cognito-user-manager
$ npx create-next-app --ts --use-npm cognito-user-manager $ cd cognito-user-manager $ npx create-next-app --ts --use-npm cognito-user-manager $ cd cognito-user-manager
$ npx create-next-app --ts --use-npm cognito-user-manager
$ cd cognito-user-manager
$ npx create-next-app --ts --use-npm cognito-user-manager
$ cd cognito-user-manager
$ npx create-next-app --ts --use-npm cognito-user-manager $ cd cognito-user-manager $ npx create-next-app --ts --use-npm cognito-user-manager $ cd cognito-user-manager
# This "input" configures a global authorization rule to enable public access to # all models in this schema. Learn more about authorization rules here: https://docs.amplify.aws/cli/graphql/authorization-rules input AMPLIFY { globalAuthRule: AuthRule = { allow: public } } # FOR TESTING ONLY! type CustomAttributeKey @model @auth( rules: [ # admin user can access any operations. { allow: groups, groups: ["admin"] } # login user can read them. { allow: private, operations: [read] }
# This "input" configures a global authorization rule to enable public access to # all models in this schema. Learn more about authorization rules here: https://docs.amplify.aws/cli/graphql/authorization-rules input AMPLIFY { globalAuthRule: AuthRule = { allow: public } } # FOR TESTING ONLY! type CustomAttributeKey @model @auth( rules: [ # admin user can access any operations. { allow: groups, groups: ["admin"] } # login user can read them. { allow: private, operations: [read] }
モーグさんコメント
【行番号なし】において、
HTMLソースの記述を変更いただければCSSで解決可能です。