Getting Started

Set up Master CSS in Nuxt.js

A quick guide to start using Master CSS in your Nuxt.js project.

Quick start

1. Create a Nuxt.js project

If you don't have a Nuxt.js project, create one first. It's recommended to refer Create Nuxt App :

npx create-nuxt-app project
cd project

2. Installation

npm install @master/css

3. Import

<script lang="ts">
    import '@master/css';
</script>

4. Launch server

npm run dev

Hello world

Now, start developing your UI with Master CSS. 🎉

localhost:4200

Hello World

<h1 class="font:40 font:heavy italic m:50 text:center">
    Hello World
</h1>

© Aoyue Design LLC.
關於此頁的問題
編輯自Benseage