Coder Social home page Coder Social logo

pruebasnuxt's Introduction

Nuxt 3 Minimal Starter

Look at the Nuxt 3 documentation to learn more.

Setup

Make sure to install the dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

# bun
bun run dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

# bun
bun run build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

# bun
bun run preview

Check out the deployment documentation for more information.


Instalación de Tailwind

Ejecutar los siguientes comandos

npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init

Añadir al archivo nuxt.config.js este contenido

postcss: {
    plugins: {
      tailwindcss: {},
      autoprefixer: {},
    },
  },

Añadir al archivo tailwind.config.js este contenido

content: [
    "./components/**/*.{js,vue,ts}",
    "./layouts/**/*.vue",
    "./pages/**/*.vue",
    "./plugins/**/*.{js,ts}",
    "./app.vue",
    "./error.vue",
  ],

Crear un nuevo directorio con el archivo main.css en ./assets/css/main.css con el siguiente contenido

@tailwind base;
@tailwind components;
@tailwind utilities;

Modificar de nuevo el archivo nuxt.config.js con este contenido

css: ['~/assets/css/main.css'],

Para la creación de los proyectos con este framework ejecutar este comando (o ver la docu):

npx nuxi@latest init PruebasNuxt

Instalación de Flowbite

Ver proceso de para instalar en la página oficial.

pruebasnuxt's People

Contributors

davidbc01 avatar

Stargazers

 avatar Team 123 HM avatar Bob22 avatar Chosen To Play avatar kaoszd avatar David ⚡ avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.