nuxt

The Intuitive Vue Framework.

MIT License

Downloads
23.2M
Stars
49.1K
Committers
764

Bot releases are visible (Hide)

nuxt - v0.6.8

Published by Atinux almost 8 years ago

Upgrade to Vue 2.1.0 and Vue-loader 10.0.0

  • Remove process.env.VUE_ENV=server since added automatically by vue-server-renderer now
  • Upgrade vue-server-renderer to v2.1.0
  • Add vue-template-compiler dependencies to ^2.1.0
nuxt - v0.6.7

Published by Atinux almost 8 years ago

Feature

  • Add option build.postcss, defaults to:
[
  require('autoprefixer')({
    browsers: ['last 3 versions']
  })
]

You can update this option in nuxt.config.js, example:

module.exports = {
  build: {
    postcss: [
      require('postcss-cssnext')()
    ]
  }
}

This resolve the issue #14

nuxt - v0.6.6

Published by Atinux almost 8 years ago

Fix

  • Force to apply new data when using the same component in different routes (Vue.js patch system was not setting the $data)
  • Hot reloading when updating the template but data and fetch not updated
nuxt - v0.6.5

Published by Atinux almost 8 years ago

Routes transitions 🔥

Demonstration in video: https://www.youtube.com/watch?v=RIXOzJWFfc8

You can now add transition between routes thanks to the transition key, see more details on examples/routes-transitions/

Improvements

  • You can configure the port of the nuxt.js server via the package.json too #11
nuxt - v0.6.0

Published by Atinux almost 8 years ago

New features:

  • We can now extend the root application by adding pages/_app.vue. You can now add a navigation bar which stays whatever the page you're on (error pages included), see an examples/extend-app/ for more details and documentation (you can also watch the short video example)
  • Add context.isDev in the data(context) and fetch(context) methods, can be useful for caching some data calls on production
  • Add callback argument (optional), in data(context [, callback]) method, because not everyone may be comfortable with using Promises. The callback is the node.js style: callback(err, data), see examples/async-data/ for more details.

Fix

  • Bug with path with ~ inside (example: ~plugins/my-plugin.js)

Documentation

nuxt - v0.5.3

Published by Atinux almost 8 years ago

Improvements

  • Add Content-Type: text/html; charset=utf-8 header
nuxt - v0.5.2

Published by alexchopin almost 8 years ago

Fix

  • Duplicated components imported in router from custom routes
  • Hidden files from subdirectory
nuxt - v0.5.1

Published by Atinux almost 8 years ago

Fix

  • Nuxt.js is now working on Windows (thanks to @herreraemanuel)
nuxt - v0.5.0

Published by Atinux almost 8 years ago

Feature

  • We can now use mixins or export default Vue.extend({ ... }) inside the pages

Side note, when exporting a page with Vue.extend, the hot-reloading might have some difficulties to works perfectly.

Fix

  • Remove a console.log
nuxt - v0.4.9

Published by Atinux almost 8 years ago

Babel options

  • We can now configure the query of babel-loader via build.babel option in nuxt.config.js.

Defaults are:

{
  presets: [
    ['es2015', { modules: false }],
    'stage-2'
  ],
  cacheDirectory: false // true if launched via nuxt-dev
}
nuxt - v0.4.8

Published by Atinux almost 8 years ago

Simplicity

The store option has been removed in the nuxt.config.js file, it's now implicit.

If a store/index.js file is detected, the store option will be activated and Vuex will be imported, see examples/vuex-store/ for more details.

nuxt - v0.4.7

Published by Atinux almost 8 years ago

Feature

  • Add build.plugins option in nuxt.config.js file to add custom plugin for webpack

Fix

  • Fix error from the server-side when no component is found to render the route
nuxt - v0.4.6

Published by Atinux almost 8 years ago

Features

nuxt - v0.4.4

Published by Atinux almost 8 years ago

Features

  • Add context.error method to show the error page from the data or fetch method inside the pages, see example/custom-routes/

Fix

  • Fix bugs with vue 2.0.6~7 and _Ctor #6
nuxt - v0.4.3

Published by Atinux almost 8 years ago

Features

  • Watch nuxt.config.js when using nuxt-dev to reload the build when updating the config file
nuxt - v0.4.2

Published by Atinux almost 8 years ago

Fix

  • Fix resolving path when using aliases on custom routes
nuxt - v0.4.1

Published by Atinux almost 8 years ago

Features

  • Add ~pages, ~store, ~plugins, ~assets and ~components alias to have nicer imports in .vue files

Misc

  • Update examples to use the aliases for better readability
nuxt - v0.4.0

Published by Atinux almost 8 years ago

Features

  • We can now define headers and meta attributes via the head field in components and nuxt.config.js, see examples/head-elements
  • Compatibility with webpack beta 26
  • Add alias ~static in webpack for assets -> <img src="~static/nuxt.png" />
nuxt - v0.3.8

Published by Atinux almost 8 years ago

Misc.

  • Remove del dependencies, using fs-extra remove instead
  • Remove mkdirp-then dependencies, using fs-extra mkdirp instead
nuxt - v0.3.7

Published by Atinux almost 8 years ago

Features

  • Remove the behaviour from the v0.3.6 for the static generation, now the page with a redirection is generated with an empty app telling nuxt that it has not been generated yet and to launch it from the client-side (the state for the store can be already filled)
  • Change redirect api, it's now: redirect([code,] path [, query]), the default status code is 302 Found
export default {
  data ({ redirect, route }) {
    // Check if user is connected via req.session or JWT...
    redirect('/login', { redirect: route.fullPath })
  }
}
Package Rankings
Top 0.24% on Npmjs.org
Top 3.32% on Proxy.golang.org
Top 16.53% on Repo1.maven.org
Badges
Extracted from project README
Nuxt banner