<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rikusen / りくせん</title>
    <description>The latest articles on DEV Community by Rikusen / りくせん (@rikus3n).</description>
    <link>https://dev.to/rikus3n</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F355732%2F56e9597d-4a3e-4c7b-b5ae-96cfce05fd2d.jpg</url>
      <title>DEV Community: Rikusen / りくせん</title>
      <link>https://dev.to/rikus3n</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rikus3n"/>
    <language>en</language>
    <item>
      <title>Deploy playwright on Heroku</title>
      <dc:creator>Rikusen / りくせん</dc:creator>
      <pubDate>Fri, 17 Feb 2023 01:52:39 +0000</pubDate>
      <link>https://dev.to/rikus3n/deploy-playwright-on-heroku-2c90</link>
      <guid>https://dev.to/rikus3n/deploy-playwright-on-heroku-2c90</guid>
      <description>&lt;p&gt;I found a solution to use playwright on Heroku, since the &lt;a href="https://github.com/playwright-community/heroku-playwright-buildpack" rel="noopener noreferrer"&gt;playwright buildpack&lt;/a&gt; is outdated.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;br&gt;
This is for someone who is still getting below error even you installed buildpack to Heroku&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;╔═════════════════════════════════════════════════════════════════════════╗
║ Looks like Playwright Test or Playwright was just installed or updated. ║
║ Please run the following command to download new browsers:              ║
║                                                                         ║
║     npx playwright install                                              ║
║                                                                         ║
║ &amp;lt;3 Playwright Team                                                      ║
╚═════════════════════════════════════════════════════════════════════════╝
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In short,&lt;/p&gt;

&lt;p&gt;Add these 2 buildpack (The order is really important, apt should be first):&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7bf09dvi6ncy8bzsehbx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7bf09dvi6ncy8bzsehbx.png" alt="Buildpacks" width="800" height="166"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Add &lt;code&gt;Aptfile&lt;/code&gt; at same as &lt;code&gt;Procfile&lt;/code&gt; if you have one:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;libgtk-3-0
libasound2
libxcomposite1
libxdamage1
libxfixes3
libxrandr2
libxtst6
libatk1.0-0
libdbus-glib-1-2
libwayland-server0
libx11-xcb1
libxcursor1
libxi6
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;(Optional if you not already doing)&lt;br&gt;
Add engines (&lt;code&gt;package.json&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="nl"&gt;"engines"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"node"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"16.x"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
    &lt;/span&gt;&lt;span class="nl"&gt;"yarn"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"1.x"&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;//&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;Could&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;be&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;npm&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;choose&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;for&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;your&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="err"&gt;environment&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="err"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it.&lt;/p&gt;

</description>
      <category>codenewbie</category>
      <category>frontend</category>
      <category>career</category>
      <category>discuss</category>
    </item>
    <item>
      <title>The 2 ways to use global stylesheet in Nuxt</title>
      <dc:creator>Rikusen / りくせん</dc:creator>
      <pubDate>Thu, 09 Apr 2020 15:26:01 +0000</pubDate>
      <link>https://dev.to/rikus3n/the-2-ways-to-use-global-stylesheet-in-nuxt-574l</link>
      <guid>https://dev.to/rikus3n/the-2-ways-to-use-global-stylesheet-in-nuxt-574l</guid>
      <description>&lt;p&gt;The first way is, write any stylesheet in &lt;code&gt;layout/default.vue&lt;/code&gt;. This way is very simple and good for small project. You won't need any another file.&lt;/p&gt;

&lt;p&gt;and as alternative, you can make &lt;code&gt;style.css&lt;/code&gt; file in aseets folder and import it in &lt;code&gt;default.vue&lt;/code&gt;. Or, just make the file and load it in &lt;code&gt;nuxt.config.js&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The second way is, use &lt;code&gt;@nuxtjs/style-resources&lt;/code&gt;. I think this is not good way because this causes mess the project.&lt;/p&gt;

</description>
      <category>vue</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
