Skip to content
Vue JavaScript CSS HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
components
dist
layouts
middleware
pages
plugins
server
static
store
test
.babelrc
.eslintignore
.eslintrc.js
.gitignore
.nojekyll
.prettierrc
README.md
jest.config.js
nuxt.config.js
package-lock.json
package.json
ttt.html

README.md

設定

.eslintrc.js

  • globalsにd3を追加

prettierrc

  • printWidthを150で設定。細かく改行されるのを防ぐ。標準は80

nuxt.config.js

  • ビルドしたときにリンク切れさせないために
      const base = process.env.NODE_ENV === 'production' ? '/statbox2-nuxt/dist/' : '/'
      module.exports = {
       router: {
         base
       },
  • 元のソースを表示
      if (ctx.isDev && ctx.isClient) {
            config.devtool = 'eval-source-map'
      }

package.json

You can’t perform that action at this time.