Subtitle #1
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth. Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
Another subtitle
diff --git a/examples/custom-build/pages/index.vue b/examples/custom-build/pages/index.vue index 5be0248820..93b9004318 100644 --- a/examples/custom-build/pages/index.vue +++ b/examples/custom-build/pages/index.vue @@ -1,6 +1,6 @@This image is included as data:image/png;base64...
In the source code, the files generated are based on the build.filenames data.
If you look at the vendor.js, lodash has been included (cmd/ctrl + F "lodash").
diff --git a/examples/typescript/nuxt.config.js b/examples/typescript/nuxt.config.js index 5cce2a6bb2..e6c3bdf87d 100644 --- a/examples/typescript/nuxt.config.js +++ b/examples/typescript/nuxt.config.js @@ -18,7 +18,7 @@ module.exports = { /* ** Build configuration */ - css: ['tachyons/css/tachyons.min.css', '~assets/css/main.css'], + css: ['tachyons/css/tachyons.min.css', '~/assets/css/main.css'], build: { vendor: ['axios', 'gsap', 'vuex-class', 'nuxt-class-component'] }, diff --git a/examples/with-vuetify/nuxt.config.js b/examples/with-vuetify/nuxt.config.js index 26034324a3..c1fc371f7a 100644 --- a/examples/with-vuetify/nuxt.config.js +++ b/examples/with-vuetify/nuxt.config.js @@ -21,9 +21,9 @@ module.exports = { /* ** Load Vuetify into the app */ - plugins: ['~plugins/vuetify'], + plugins: ['~/plugins/vuetify'], /* ** Load Vuetify CSS globally */ - css: ['~assets/app.styl'] + css: ['~/assets/app.styl'] } diff --git a/lib/builder/webpack/base.config.js b/lib/builder/webpack/base.config.js index 0cfda3c9d0..d77edc9d8d 100644 --- a/lib/builder/webpack/base.config.js +++ b/lib/builder/webpack/base.config.js @@ -52,10 +52,11 @@ export default function webpackBaseConfig ({ isClient, isServer }) { '~~': join(this.options.rootDir), '@': join(this.options.srcDir), '@@': join(this.options.rootDir), - 'static': join(this.options.srcDir, 'static'), - '~static': join(this.options.srcDir, 'static'), + + // Used by vue-loader so we can use in templates + // with 'assets': join(this.options.srcDir, 'assets'), - '~assets': join(this.options.srcDir, 'assets') + 'static': join(this.options.srcDir, 'static') }, modules: [ this.options.modulesDir,