mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
parent
5aa4120c3d
commit
1f85b2dd13
@ -51,8 +51,10 @@ export default function webpackBaseConfig ({ isClient, isServer }) {
|
||||
'~~': join(this.options.rootDir),
|
||||
'@': join(this.options.srcDir),
|
||||
'@@': join(this.options.rootDir),
|
||||
'static': join(this.options.srcDir, 'static'), // use in template with <img src="~static/nuxt.png" />
|
||||
'assets': join(this.options.srcDir, 'assets') // use in template with <img src="~assets/nuxt.png" />
|
||||
'static': join(this.options.srcDir, 'static'),
|
||||
'~static': join(this.options.srcDir, 'static'),
|
||||
'assets': join(this.options.srcDir, 'assets'),
|
||||
'~assets': join(this.options.srcDir, 'assets')
|
||||
},
|
||||
modules: [
|
||||
this.options.modulesDir,
|
||||
|
Loading…
Reference in New Issue
Block a user