项目作者: stursby

项目描述 :
A Nuxt.js example with Tailwind CSS v1.2 and Purgecss
高级语言: Vue
项目地址: git://github.com/stursby/nuxt-tailwind-purgecss.git
创建时间: 2019-04-30T15:03:32Z
项目社区:https://github.com/stursby/nuxt-tailwind-purgecss

开源协议:

下载


nuxt-tailwind-purgecss

A Nuxt.js example with Tailwind CSS v1.2 and Purgecss

LIVE DEMO

Table of contents

Installation

  1. # Clone the repository
  2. git clone https://github.com/stursby/nuxt-tailwind-purgecss.git
  3. # Go into the repository
  4. cd nuxt-tailwind-purgecss
  5. # Install dependencies
  6. yarn
  7. # or npm install

Usage

Run the app locally

  1. yarn dev
  2. # or npm run dev

Now you should see the project at http://localhost:3000

Build the app

  1. yarn build
  2. # or npm run build

This will output the production files to the /dist folder. Note that I’m opting to use nuxt generate under the hood which renders the page(s) fully static. You can read more about the different Nuxt build options here.

Performance

Currently, this simple demo app scores very well in Chrome’s Lighthouse Audit. If you notices any performance issues, plese let me know, or submit a PR!

lighthouse audit

Credits

Authors

This project was created by:

Software

This project is build using the following software & plugins: