Skip to content

Conversation

@mii288
Copy link
Member

@mii288 mii288 commented Feb 12, 2021

SVG画像をコンポーネント内で使えるようにした

FYI: https://github.com/vercel/next.js/tree/canary/examples/svg-components


image
#89 (comment)

エイリアスパスを使わなければ読み込めることが分かったので、PR作り直しました。
airbnb/babel-plugin-inline-react-svg#17

@mii288 mii288 changed the title SVG画像をコンポーネント内で使えるようにしました SVG画像をコンポーネント内で使えるようにする Feb 12, 2021
@mii288 mii288 requested review from Yu0614 and cocoeyes02 February 12, 2021 11:11
@mii288 mii288 added this to the Migrate from Hugo to Next.js milestone Feb 12, 2021
Copy link
Contributor

@mism-mism mism-mism left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

良さそう

@mii288 mii288 merged commit 254f77a into master-nextjs Feb 13, 2021
@mii288 mii288 deleted the feature/nextjs-svg branch February 13, 2021 02:55
mii288 added a commit that referenced this pull request Feb 23, 2021
Copy link
Contributor

@Yu0614 Yu0614 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SVG画像をコンポーネント内で使えるようにする partials/navigation.html

4 participants