diff --git a/test/fixtures/with-config/nuxt.config.js b/test/fixtures/with-config/nuxt.config.js
index 34012a7fc1..8acd8c068f 100644
--- a/test/fixtures/with-config/nuxt.config.js
+++ b/test/fixtures/with-config/nuxt.config.js
@@ -19,6 +19,7 @@ module.exports = {
modulesDir: path.join(__dirname, '..', '..', '..', 'node_modules'),
transition: 'test',
layoutTransition: 'test',
+ loadingIndicator: 'circle',
offline: true,
plugins: [
'~/plugins/test.js',
diff --git a/test/fixtures/with-config/pages/index.vue b/test/fixtures/with-config/pages/index.vue
index a24e4f00e8..4655686e0f 100644
--- a/test/fixtures/with-config/pages/index.vue
+++ b/test/fixtures/with-config/pages/index.vue
@@ -4,3 +4,9 @@
About page
+
+
diff --git a/test/fixtures/with-config/postcss.config.js b/test/fixtures/with-config/postcss.config.js
new file mode 100644
index 0000000000..a09f38e1b9
--- /dev/null
+++ b/test/fixtures/with-config/postcss.config.js
@@ -0,0 +1,17 @@
+const path = require('path')
+const modulesDir = path.join(__dirname, '..', '..', '..', 'node_modules')
+const rootDir = __dirname
+
+module.exports = {
+ plugins: {
+ 'postcss-import': {
+ root: rootDir,
+ path: [
+ rootDir,
+ modulesDir
+ ]
+ },
+ 'postcss-url': {},
+ 'postcss-cssnext': {}
+ }
+}
diff --git a/test/with-config.test.js b/test/with-config.test.js
index f179df1e39..0dd726da0c 100644
--- a/test/with-config.test.js
+++ b/test/with-config.test.js
@@ -44,6 +44,11 @@ test('/ (custom build.publicPath)', async t => {
t.true(html.includes('src="/test/orion/vendor.'))
})
+test('/ (custom postcss.config.js)', async t => {
+ const { html } = await nuxt.renderRoute('/')
+ t.true(html.includes('::-webkit-input-placeholder'))
+})
+
test('/test/ (router base)', async t => {
const window = await nuxt.renderAndGetWindow(url('/test/'))
const html = window.document.body.innerHTML